core/wget/Pkgfile

27 lines
641 B
Plaintext
Raw Normal View History

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/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: openssl
2006-02-23 16:26:10 +01:00
name=wget
2018-12-28 15:33:55 +01:00
version=1.20.1
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
}