31 lines
694 B
Plaintext
31 lines
694 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: libpcre2 openssl util-linux zlib
|
|
|
|
name=wget
|
|
version=2.0.0
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/$name/${name}2-$version.tar.lz \
|
|
wgetrc)
|
|
|
|
build() {
|
|
cd ${name}2-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-openssl \
|
|
--enable-fuzzing \
|
|
--disable-debug \
|
|
--disable-nls \
|
|
--disable-doc \
|
|
--disable-rpath
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
install -D -m 644 $SRC/wgetrc $PKG/etc/wgetrc
|
|
|
|
rm -f $PKG/usr/bin/wget2_noinstall
|
|
ln -sf /usr/bin/wget2 $PKG/usr/bin/wget
|
|
}
|