aboutsummaryrefslogtreecommitdiff
path: root/extra/wget/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-02-03 16:43:44 +0100
committerCem Keylan <cem@ckyln.com>2023-02-03 16:43:44 +0100
commit808a7e8170b3c8e998187ae0d422be63ac4d7e84 (patch)
tree8ead5c90122e8b17b4338d3c03605df309fbdc29 /extra/wget/build
parent11bfe8706c550faa76cfb1066a9a50281e4ca9e3 (diff)
downloadrepository-808a7e8170b3c8e998187ae0d422be63ac4d7e84.tar.gz
wget: add new package at 2.0.1
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