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 | |
356979bf | 4 | # Arch Maintainer: CRUX-ARM System, crux-arm at mikeux dot dyndns dot org |
6dca1d21 JB |
5 | # Depends on: openssl |
6 | ||
7 | name=wget | |
356979bf | 8 | version=1.12 |
6dca1d21 JB |
9 | release=1 |
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 \ |
6dca1d21 JB |
21 | --disable-debug \ |
22 | --disable-nls | |
356979bf | 23 | |
6dca1d21 | 24 | make |
356979bf JB |
25 | make DESTDIR=$PKG install |
26 | install -D -m 0644 $SRC/wgetrc $PKG/etc/wgetrc | |
27 | ||
28 | rm -r $PKG/usr/share | |
6dca1d21 | 29 | } |