piston/packages/php-8.0.2/build.sh

21 lines
372 B
Bash
Raw Normal View History

#!/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)
2021-03-06 07:43:09 +01:00
mv build/tmp/piston/packages/php/8.0.2/php-8.0.2 ../../php-8.0.2