| 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 |
| 5 | # Depends on: openssl |
| 6 | |
| 7 | name=wget |
| 8 | version=1.11.4 |
| 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 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr \ |
| 18 | --sysconfdir=/etc \ |
| 19 | --mandir=$PKG/usr/man \ |
| 20 | --disable-debug \ |
| 21 | --disable-nls |
| 22 | make |
| 23 | make prefix=$PKG/usr install.bin install.man |
| 24 | install -D -m 644 ../wgetrc $PKG/etc/wgetrc |
| 25 | } |