summaryrefslogtreecommitdiffstats
path: root/wget/Pkgfile
blob: 5cfb6b76fef7f9b25ae12822b5f486706adcfc15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
description="A network utility for downloading content from the Web."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/wget/"
depends=(openssl)

name=wget
version=1.12
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.lzma wgetrc)
build () 
{ 
	cd $name-$version;
	./configure \
		--prefix=$prefix \
		--sysconfdir=$sysconfdir \
		--mandir=$mandir \
		--disable-debug \
		$(use_enable nls);
	make;
	make DESTDIR=$PKG install;
	install -D -m 644 $SRC/wgetrc $PKG$sysconfdir/wgetrc;
}