summaryrefslogtreecommitdiff
path: root/Ports/wget/package.sh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-05-27 21:14:33 +0200
committerLinus Groh <mail@linusgroh.de>2021-05-30 14:56:50 +0100
commit040d2479bf62f6b0a1c6e0b201f799ab364519e3 (patch)
treece0bd664b7eeab20aebf7de35f91b4c829af96c6 /Ports/wget/package.sh
parentc2b47c0676073678e9921a7eb37616af179d25da (diff)
downloadserenity-040d2479bf62f6b0a1c6e0b201f799ab364519e3.zip
Ports: Add port for wget
Diffstat (limited to 'Ports/wget/package.sh')
-rwxr-xr-xPorts/wget/package.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/Ports/wget/package.sh b/Ports/wget/package.sh
new file mode 100755
index 0000000000..6234966c3e
--- /dev/null
+++ b/Ports/wget/package.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=wget
+version=1.21.1
+useconfigure="true"
+depends="openssl"
+files="https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz wget-${version}.tar.gz
+https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz.sig wget-${version}.tar.gz.sig
+https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
+auth_type="sig"
+auth_opts="--keyring ./gnu-keyring.gpg wget-${version}.tar.gz.sig"
+configopts="--with-ssl=openssl --disable-ipv6"
+
+export OPENSSL_LIBS="-lssl -lcrypto -ldl"