| 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 | --with-libssl-prefix=$CLFS/usr \ |
| 22 | --disable-debug \ |
| 23 | --disable-nls |
| 24 | |
| 25 | make |
| 26 | make DESTDIR=$PKG install |
| 27 | install -D -m 0644 $SRC/wgetrc $PKG/etc/wgetrc |
| 28 | |
| 29 | rm -r $PKG/usr/share |
| 30 | } |