2006-02-23 16:26:10 +01:00
|
|
|
# Description: A network utility for downloading content from the Web
|
|
|
|
# URL: http://www.gnu.org/software/wget/
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2021-12-11 16:42:44 +01:00
|
|
|
# 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-11 16:42:44 +01:00
|
|
|
source=(http://ftp.gnu.org/gnu/$name/${name}2-$version.tar.lz \
|
|
|
|
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 \
|
|
|
|
--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
|
|
|
}
|