diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-19 00:11:14 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-19 00:11:14 -0400 |
| commit | 38de9074ff1effefa08bfc71471a97cd0658c10c (patch) | |
| tree | 23a2d9b90c4e6fc8136ea05daa697cc36a94ca9c /scripts/php.sh | |
| parent | 25a1cb19b213f7825fcc080a29991beeb70f6b93 (diff) | |
| download | min-38de9074ff1effefa08bfc71471a97cd0658c10c.tar.gz min-38de9074ff1effefa08bfc71471a97cd0658c10c.tar.xz | |
Attempts to build zlib, libressl, dropbear, and...
openssh with musl using the host's toolchain.
I'm going to be moving to a toolchain specific to this
system.
Also changed how the kernel is installed, so it makes more sense.
Fixed missing sources for many projects
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 |
