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