aboutsummaryrefslogtreecommitdiffstats
path: root/main/wget/APKBUILD
blob: b6581fa48ab82a90895cb241534766fded67c3f3 (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
27
28
29
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=wget
pkgver=1.11.4
pkgrel=1
pkgdesc="A network utility to retrieve files from the Web"
url="http://www.gnu.org/software/wget/wget.html"
license="GPL3"
depends="openssl"
makedepends="openssl-dev"
subpackages="$pkgname-doc"
install="wget.post-deinstall"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	$install"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="69e8a7296c0e12c53bd9ffd786462e87  wget-1.11.4.tar.gz
b84506d253e04db3c5af9016fead45a3  wget.post-deinstall"