pkg(php-8.0.2): relocate files

This commit is contained in:
Thomas Hobson 2021-03-13 19:52:42 +13:00
parent 60ec517dcd
commit 7b4e072154
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
5 changed files with 31 additions and 0 deletions

20
packages/php/8.0.2/build.sh vendored Executable file
View file

@ -0,0 +1,20 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p 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 "$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ../../
rm -rf build