aboutsummaryrefslogtreecommitdiffstats
path: root/main/wget/APKBUILD
blob: 2a04340b5651cd6f252dab653a1938de91287e70 (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
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=wget
pkgver=1.19
pkgrel=0
pkgdesc="A network utility to retrieve files from the Web"
url="http://www.gnu.org/software/wget/wget.html"
arch="all"
license="GPL3+"
depends=""
makedepends="libressl-dev perl"
subpackages="$pkgname-doc"
install=""
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-ssl=openssl \
		--disable-nls \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1

	rm -rf "$pkgdir"/usr/lib
}

md5sums="f9e928e293e4d7de73ff6f19e0c4b423  wget-1.19.tar.gz"
sha256sums="dd9523039845f69e8e945e9f2d5a38af6b1e29efa6ff53830507310235ddade8  wget-1.19.tar.gz"
sha512sums="bd71636d3fbd44fc92236f01ba76f5fee3dc2c5df0a27e0c46efde9147dce891a1225948152cfb2df6bd10a08c69eafdb8d3f5f33543653b77a259325d2c5837  wget-1.19.tar.gz"