aboutsummaryrefslogtreecommitdiffstats
path: root/community/miniupnpc/APKBUILD
blob: 7570054b89c9dff0c7157214a6a0f0bc14a00c3a (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=miniupnpc
pkgver=2.0.20170509
pkgrel=0
pkgdesc="Library and tool to control NAT in UPnP-enabled routers"
url="http://miniupnp.free.fr/"
arch="all"
license="BSD"
makedepends="bsd-compat-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

check() {
	cd "$builddir"
	make check
}

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir"/usr install
}

sha512sums="71ec052ef6c8ad0d529e467ddae6eae19a93b9816174eeac753aa90e036cc2f00cf7e8d1cdb188ef8280849a988fe2995e37b63f8e2a361e021c1d1b306bff6f  miniupnpc-2.0.20170509.tar.gz"