Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: openssl |
6 | ||
7 | name=wget | |
356979bf | 8 | version=1.12 |
f34e6181 | 9 | release=2 |
6dca1d21 | 10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \ |
356979bf | 11 | wgetrc) |
6dca1d21 JB |
12 | |
13 | build() { | |
14 | cd $name-$version | |
356979bf | 15 | |
6dca1d21 JB |
16 | ./configure --build=$CHOST \ |
17 | --host=$CTARGET \ | |
18 | --prefix=/usr \ | |
19 | --sysconfdir=/etc \ | |
356979bf | 20 | --mandir=/usr/man \ |
f34e6181 | 21 | --with-libssl-prefix=$CLFS/usr \ |
6dca1d21 JB |
22 | --disable-debug \ |
23 | --disable-nls | |
356979bf | 24 | |
6dca1d21 | 25 | make |
356979bf JB |
26 | make DESTDIR=$PKG install |
27 | install -D -m 0644 $SRC/wgetrc $PKG/etc/wgetrc | |
28 | ||
29 | rm -r $PKG/usr/share | |
6dca1d21 | 30 | } |