eth0s/toolchain/42-wget
2020-06-28 23:38:04 +08:00

17 lines
438 B
Text
Executable file

name=wget
version=1.20.3
source=(https://ftp.gnu.org/gnu/wget/wget-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/tools \
--with-ssl=openssl \
--without-libidn \
--without-libpsl \
--without-metalink \
--disable-pcre2
make
make install
echo "ca_certificate = /tools/etc/ssl/certs/ca-certificates.crt" > /tools/etc/wgetrc
}