piston/packages/php/8.0.2/build.sh

21 lines
301 B
Bash
Raw Normal View History

2021-03-13 07:52:42 +01:00
#!/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 ../../
2021-03-15 07:38:57 +01:00
rm -rf build