summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-14 13:16:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-14 13:19:07 +0000
commit1e6bf3dec06d8d0b2e5345bbe61c1168a1e6e3e1 (patch)
tree5ca78277a04f6f7e6c4261a98875aa9d4017c4c1
parent2c2e7792792dc1fc68b7ee0addee917b9515ea20 (diff)
downloadaports-1e6bf3dec06d8d0b2e5345bbe61c1168a1e6e3e1.tar.bz2
aports-1e6bf3dec06d8d0b2e5345bbe61c1168a1e6e3e1.tar.xz
testing/miniupnpc: new aport
Library and tool to control NAT in UPnP-enabled routers http://miniupnp.free.fr/
-rw-r--r--testing/miniupnpc/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/miniupnpc/APKBUILD b/testing/miniupnpc/APKBUILD
new file mode 100644
index 000000000..6929f46c8
--- /dev/null
+++ b/testing/miniupnpc/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor:
+# Maintainer:
+pkgname=miniupnpc
+pkgver=1.8
+pkgrel=0
+pkgdesc="Library and tool to control NAT in UPnP-enabled routers"
+url="http://miniupnp.free.fr/"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://miniupnp.free.fr/files/miniupnpc-$pkgver.tar.gz"
+
+_builddir="$srcdir"/miniupnpc-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="065bf20a20ebe605c675b7a5aaef340a miniupnpc-1.8.tar.gz"
+sha256sums="bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c miniupnpc-1.8.tar.gz"
+sha512sums="8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 miniupnpc-1.8.tar.gz"