diff options
Diffstat (limited to 'scripts/php.sh')
| -rw-r--r-- | scripts/php.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/php.sh b/scripts/php.sh new file mode 100644 index 0000000..5e401ac --- /dev/null +++ b/scripts/php.sh @@ -0,0 +1,17 @@ +#!/bin/sh +. ./.vars +export DESTDIR=$prefix +VERSION=8.0.586 +BUILD_DIR="${build_dir}/vim80" +if ! [ -d "$BUILD_DIR" ] ; then + cd "$build_dir" + tar xfjv ${dist_dir}/vim-$VERSION.tar.bz2 +fi +cd "$BUILD_DIR" +export CC=musl-gcc +export LDFLAGS="-static" +export DESTDIR="$prefix" +make distclean || echo "" +./configure --prefix=/usr --with-tlib=ncurses --with-local-dir=$prefix/usr +make -j$(numproc) +make install |
