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

builddir="$srcdir"/miniupnpc-$pkgver

build() {
	cd "$builddir"
	make || return 1
}

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

md5sums="2acc4ec912c15447a40cf14ae50df7b9  miniupnpc-2.0.tar.gz"
sha256sums="d434ceb8986efbe199c5ca53f90ed53eab290b1e6d0530b717eb6fa49d61f93b  miniupnpc-2.0.tar.gz"
sha512sums="e8bca24265086518fa3bdc25fc31371ddf878adaa2bd6a80b30f33a3e5adb831220e906302832f2250e489a73ecd7e6c9a6bfcb1c70258a90e4c4712196275de  miniupnpc-2.0.tar.gz"