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
|
2006-04-07 18:11:29 +02:00
|
|
|
# Depends on: openssl
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=wget
|
2019-04-05 16:59:01 +02:00
|
|
|
version=1.20.3
|
2008-01-27 11:08:27 +01:00
|
|
|
release=1
|
2018-01-21 21:54:41 +01:00
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.lz \
|
2009-09-25 11:24:24 +02:00
|
|
|
wgetrc)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2009-09-25 11:24:24 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure --prefix=/usr \
|
2009-09-25 11:24:24 +02:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-debug \
|
2011-08-24 12:03:02 +02:00
|
|
|
--disable-nls \
|
|
|
|
--with-ssl=openssl
|
2009-09-25 11:24:24 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
2009-09-25 11:24:24 +02:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
install -D -m 644 $SRC/wgetrc $PKG/etc/wgetrc
|
2006-02-23 16:26:10 +01:00
|
|
|
|
2015-07-25 20:45:13 +02:00
|
|
|
rm -r $PKG/usr/share/info
|
2009-09-25 11:24:24 +02:00
|
|
|
}
|