summaryrefslogtreecommitdiffstats
path: root/wget/Pkgfile.old
blob: da57c08b924d4190c82ee3cd362d2863f5f61ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: A network utility for downloading content from the Web
# URL:         http://www.gnu.org/software/wget/
# Maintainer:  CRUX System Team, core-ports at crux dot nu
# Depends on:  openssl

name=wget
version=1.12
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.lzma \
        wgetrc)

build() {
    cd $name-$version

    ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/man \
                --disable-debug \
                --disable-nls

    make
    make DESTDIR=$PKG install 
    install -D -m 644 $SRC/wgetrc $PKG/etc/wgetrc

    rm -r $PKG/usr/share
}