aboutsummaryrefslogtreecommitdiff
path: root/extra/wget/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wget/build')
-rwxr-xr-xextra/wget/build20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/wget/build b/extra/wget/build
new file mode 100755
index 00000000..6755ed24
--- /dev/null
+++ b/extra/wget/build
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+export PKG_CONFIG="pkgconf --static"
+
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-nls \
+ --disable-rpath \
+ --without-libpsl \
+ --without-libpcre \
+ --without-libpcre2 \
+ --without-gpgme \
+ --without-libnghttp2 \
+ --without-libmicrohttpd \
+ --without-plugin-support \
+ --with-ssl=openssl
+
+make LDFLAGS="$LDFLAGS -all-static"
+make DESTDIR="$1" install