PKGBUILDs/core/wget/PKGBUILD

31 lines
799 B
Bash
Raw Normal View History

# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Plugbox changes: ONLY added libidn and libsigsegv to depends
pkgname=wget
pkgver=1.12
pkgrel=3
pkgdesc="A network utility to retrieve files from the Web"
arch=('arm')
url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3')
groups=('base')
depends=('glibc' 'openssl' 'libidn' 'libsigsegv')
optdepends=('ca-certificates: HTTPS downloads')
backup=('etc/wgetrc')
install=wget.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('141461b9c04e454dc8933c9d1f2abf83')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}