2022-01-13 14:19:37 +01:00
|
|
|
# Description: A network utility for downloading content from the Web
|
|
|
|
# URL: https://www.gnu.org/software/wget/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2022-10-05 11:50:11 +02:00
|
|
|
# Depends on: libnghttp2 libpcre2 openssl zstd
|
2022-01-13 14:19:37 +01:00
|
|
|
|
|
|
|
name=wget2
|
2023-08-31 22:58:43 +02:00
|
|
|
version=2.1.0
|
2022-01-13 14:19:37 +01:00
|
|
|
release=1
|
|
|
|
source=(https://ftp.gnu.org/gnu/wget/$name-$version.tar.lz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--with-ssl=openssl \
|
|
|
|
--enable-fuzzing \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-doc \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-manylibs
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -f $PKG/usr/bin/wget2_noinstall
|
|
|
|
}
|