diff options
Diffstat (limited to 'scripts/libressl.sh')
| -rw-r--r-- | scripts/libressl.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/libressl.sh b/scripts/libressl.sh new file mode 100644 index 0000000..8706f93 --- /dev/null +++ b/scripts/libressl.sh @@ -0,0 +1,19 @@ +#!/bin/sh +. ./.vars +export DESTDIR=$prefix +VERSION=2.7.2 +APP_NAME="libressl" +BUILD_DIR="${build_dir}/$APP_NAME-$VERSION" +if ! [ -d "$BUILD_DIR" ] ; then + cd "$build_dir" + tar xfzv ${dist_dir}/$APP_NAME-$VERSION.tar.gz +fi +cd "$BUILD_DIR" +# export CC=musl-gcc +# export CFLAGS="-static -I$prefix/usr/include" +# export LDFLAGS="-static -L$prefix/usr/lib" +export DESTDIR="$prefix" +make clean +./configure --prefix=/usr +make -j$(nproc) +make install |
