summaryrefslogtreecommitdiff
path: root/core/wget/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/wget/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/wget/MAKEPKG')
-rw-r--r--core/wget/MAKEPKG51
1 files changed, 51 insertions, 0 deletions
diff --git a/core/wget/MAKEPKG b/core/wget/MAKEPKG
new file mode 100644
index 0000000..5af4192
--- /dev/null
+++ b/core/wget/MAKEPKG
@@ -0,0 +1,51 @@
+#!/bin/mkpkg
+# description: Network downloader with HTTP/2 and parallel fetch support
+# url: https://gitlab.com/gnuwget/wget2
+
+name=wget
+_name=wget2
+version=2.2.1
+release=2
+depends=(libressl zlib zstd)
+makedeps=()
+lockbox=(yes)
+source=(https://ftp.gnu.org/gnu/wget/wget2-$version.tar.gz)
+sha256sums=(
+ "d7544b13e37f18e601244fce5f5f40688ac1d6ab9541e0fbb01a32ee1fb447b4"
+)
+
+build() {
+ cd $_name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --bindir=/bin \
+ --libdir=/lib \
+ --with-ssl=openssl \
+ --without-libpsl \
+ --without-libhsts \
+ --without-libnghttp2 \
+ --without-gpgme \
+ --without-libpcre2 \
+ --without-libpcre \
+ --without-libmicrohttpd \
+ --without-libidn2 \
+ --without-libidn \
+ --without-plugin-support \
+ --disable-nls \
+ --disable-doc
+
+ make
+ make DESTDIR=$PKG install
+
+ rm $PKG/bin/wget2_noinstall
+ ln -sf wget2 $PKG/bin/wget
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh
+