core/wget/Pkgfile

32 lines
707 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: A network utility for downloading content from the Web
2021-12-13 11:46:48 +01:00
# URL: https://www.gnu.org/software/wget/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: libpcre2 openssl util-linux zlib
2006-02-23 16:26:10 +01:00
name=wget
2021-12-11 16:42:44 +01:00
version=2.0.0
2008-01-27 11:08:27 +01:00
release=1
2021-12-13 11:46:48 +01:00
source=(https://ftp.gnu.org/gnu/$name/${name}2-$version.tar.lz
2021-12-11 16:42:44 +01:00
wgetrc)
2006-02-23 16:26:10 +01:00
build() {
2021-12-11 16:42:44 +01:00
cd ${name}2-$version
2009-09-25 11:24:24 +02:00
2021-12-11 16:42:44 +01:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-openssl \
2022-01-07 14:43:40 +01:00
--with-ssl=openssl \
2021-12-11 16:42:44 +01:00
--enable-fuzzing \
--disable-debug \
--disable-nls \
--disable-doc \
--disable-rpath
2009-09-25 11:24:24 +02:00
2021-12-11 16:42:44 +01:00
make
make DESTDIR=$PKG install
install -D -m 644 $SRC/wgetrc $PKG/etc/wgetrc
2006-02-23 16:26:10 +01:00
2021-12-11 16:42:44 +01:00
rm -f $PKG/usr/bin/wget2_noinstall
ln -sf /usr/bin/wget2 $PKG/usr/bin/wget
2009-09-25 11:24:24 +02:00
}