CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
c0baa8115fc8606b7edf021760e23a262975e10d
[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.18
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
11 wgetrc)
12
13 build() {
14 cd $name-$version
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --disable-debug \
21 --disable-nls \
22 --with-ssl=openssl \
23 --disable-rpath \
24 --with-libssl-prefix=$CLFS/usr
25
26 make
27 make DESTDIR=$PKG install
28 install -D -m 0644 $SRC/wgetrc $PKG/etc/wgetrc
29
30 rm -r $PKG/usr/share/info
31 }