summaryrefslogtreecommitdiff
path: root/repo/util/wget.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 14:15:05 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 14:15:05 +0000
commit31723b3943baa14269be93abcb03e1ffe44a3407 (patch)
treeb47e2094372b4c15a57220bfb1d70cdf87ed1eee /repo/util/wget.xibuild
parent16fc77be18cd3bdd4f6a9af86b9857663894f522 (diff)
adde a few extra utilities
Diffstat (limited to 'repo/util/wget.xibuild')
-rw-r--r--repo/util/wget.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/util/wget.xibuild b/repo/util/wget.xibuild
new file mode 100644
index 0000000..71eb2ba
--- /dev/null
+++ b/repo/util/wget.xibuild
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+MAKEDEPS=(make )
+DEPS=(glibc gnutls libidn2 libpsl nettle util-linux pcre2 zlib cacerts)
+
+PKG_VER=1.21.2
+SOURCE=https://ftp.gnu.org/gnu/wget/wget-$PKG_VER.tar.gz
+DESC="A utility for transfering files with URL syntax"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-ssl=openssl &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}