diff options
Diffstat (limited to 'community/miniupnpc')
-rw-r--r-- | community/miniupnpc/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/miniupnpc/APKBUILD b/community/miniupnpc/APKBUILD new file mode 100644 index 0000000000..ee44ab993c --- /dev/null +++ b/community/miniupnpc/APKBUILD @@ -0,0 +1,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" |