aboutsummaryrefslogtreecommitdiff
path: root/extra/wget
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wget')
-rwxr-xr-xextra/wget/build20
-rw-r--r--extra/wget/checksums2
-rw-r--r--extra/wget/depends5
-rw-r--r--extra/wget/meta3
-rw-r--r--extra/wget/sources1
-rw-r--r--extra/wget/version1
6 files changed, 32 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
diff --git a/extra/wget/checksums b/extra/wget/checksums
new file mode 100644
index 00000000..6dcb9d25
--- /dev/null
+++ b/extra/wget/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+d619a9fac9dab6bb907c264235952add2e2792d6beef2463bcbe92056373891a wget2-2.0.1.tar.gz
diff --git a/extra/wget/depends b/extra/wget/depends
new file mode 100644
index 00000000..fdcf0ff2
--- /dev/null
+++ b/extra/wget/depends
@@ -0,0 +1,5 @@
+bzip2 make
+libressl
+xz make
+zlib make
+zstd make
diff --git a/extra/wget/meta b/extra/wget/meta
new file mode 100644
index 00000000..ce1cece7
--- /dev/null
+++ b/extra/wget/meta
@@ -0,0 +1,3 @@
+description: GNU wget download utility
+license: GPL-3.0-or-later
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/wget/sources b/extra/wget/sources
new file mode 100644
index 00000000..dc936adb
--- /dev/null
+++ b/extra/wget/sources
@@ -0,0 +1 @@
+https://ftp.gnu.org/gnu/wget/wget2-2.0.1.tar.gz
diff --git a/extra/wget/version b/extra/wget/version
new file mode 100644
index 00000000..4a473510
--- /dev/null
+++ b/extra/wget/version
@@ -0,0 +1 @@
+2.0.1 1