CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
84c6c627062318baf3aa33a61dcddfe1377ab922
[crossrootfs.git] / wget / Pkgfile
1 # Description: A network utility for downloading content from the Web
2 # URL: http://www.gnu.org/software/wget/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: openssl
6
7 name=wget
8 version=1.12
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
11 wgetrc)
12
13 build() {
14 cd $name-$version
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --mandir=/usr/man \
21 --disable-debug \
22 --disable-nls
23
24 make
25 make DESTDIR=$PKG install
26 install -D -m 0644 $SRC/wgetrc $PKG/etc/wgetrc
27
28 rm -r $PKG/usr/share
29 }