diff --git a/packages.json b/packages.json index 1b1fad9..52d1d21 100644 --- a/packages.json +++ b/packages.json @@ -875,6 +875,17 @@ } ], "env": "target" + }, + { + "name": "wget", + "version": "2.0.0", + "src_urls": [ + { + "url": "https://ftp.gnu.org/gnu/wget/wget2-2.0.0.tar.gz", + "checksum": "b774bb0da9cb84cb9f5bbbcbcc31d00e" + } + ], + "env": "target" } ] } diff --git a/wget.sh b/wget.sh new file mode 100755 index 0000000..fa40f2f --- /dev/null +++ b/wget.sh @@ -0,0 +1,21 @@ +# See LICENSE for license details. +#!/bin/bash +set -euo pipefail + +unpack_src() { + tar xf wget2-2.0.0.tar.gz + cd wget2-2.0.0 + return +} + +configure() { + ./configure --prefix=/usr --with-ssl +} + +make_install() { + make + make DESTDIR=$TODD_FAKE_ROOT_DIR -j1 install + return +} + +unpack_src && configure && make_install