opt/wget/Pkgfile

28 lines
577 B
Plaintext

# 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: libpcre openssl util-linux zlib
name=wget
version=1.21.4
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.lz \
wgetrc)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-debug \
--disable-nls \
--with-ssl=openssl
make
make DESTDIR=$PKG install
install -D -m 644 $SRC/wgetrc $PKG/etc/wgetrc
rm -r $PKG/usr/share/info
}