mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
pkg(php-8.0.2): switch to new build system
This commit is contained in:
parent
a0e7d1b736
commit
083793ee43
7 changed files with 32 additions and 27 deletions
20
packages/php-8.0.2/build.sh
vendored
Executable file
20
packages/php-8.0.2/build.sh
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p build/tmp build/php
|
||||
cd build
|
||||
|
||||
curl "https://www.php.net/distributions/php-8.0.2.tar.gz" -o php.tar.gz
|
||||
tar xzf php.tar.gz --strip-components=1 -C php
|
||||
|
||||
cd php
|
||||
|
||||
|
||||
./configure --prefix /piston/packages/php/8.0.2/php-8.0.2
|
||||
|
||||
make -j$(nproc)
|
||||
INSTALL_ROOT=build/tmp make install -j$(nproc)
|
||||
|
||||
|
||||
mv build/tmp/piston/packages/php/8.0.2/php-8.0.2 ../../output
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue