aboutsummaryrefslogtreecommitdiff
path: root/scripts/php.sh
blob: 5e401ac9dc459d76339a84513278e6b6a89bb198 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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