# Description: Utility for non-interactive download of files using HTTP, HTTPS and FTP.
# URL: http://www.gnu.org/software/wget/
# Maintainer: gscrivano at gnu dot org
# Packager: milisarge@gmail.com
name=wget
version=1.17.1
release=2

source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) 

build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-ssl=openssl \
--disable-debug \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
}
