diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-16 07:15:01 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-16 08:32:51 +0000 |
commit | 6557e8ec1cc0b45bf6534c74b1455f6d39c89a0a (patch) | |
tree | 9e362653c18034750398615d4ccd0e67e3ba0583 /community/miniupnpc | |
parent | 144e91436b1ce41382dd63d7ddb2f5d6d195e5c1 (diff) | |
download | aports-6557e8ec1cc0b45bf6534c74b1455f6d39c89a0a.tar.bz2 aports-6557e8ec1cc0b45bf6534c74b1455f6d39c89a0a.tar.xz |
community/miniupnpc: upgrade to 2.0.20170509
Diffstat (limited to 'community/miniupnpc')
-rw-r--r-- | community/miniupnpc/APKBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/community/miniupnpc/APKBUILD b/community/miniupnpc/APKBUILD index ee44ab993c..7570054b89 100644 --- a/community/miniupnpc/APKBUILD +++ b/community/miniupnpc/APKBUILD @@ -1,29 +1,30 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=miniupnpc -pkgver=2.0 +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="$depends_dev bsd-compat-headers" -install="" +makedepends="bsd-compat-headers" subpackages="$pkgname-dev $pkgname-doc" -source="http://miniupnp.free.fr/files/miniupnpc-$pkgver.tar.gz" +source="http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver -builddir="$srcdir"/miniupnpc-$pkgver +check() { + cd "$builddir" + make check +} build() { cd "$builddir" - make || return 1 + make } package() { cd "$builddir" - make PREFIX="$pkgdir" install || return 1 + make PREFIX="$pkgdir"/usr install } -md5sums="2acc4ec912c15447a40cf14ae50df7b9 miniupnpc-2.0.tar.gz" -sha256sums="d434ceb8986efbe199c5ca53f90ed53eab290b1e6d0530b717eb6fa49d61f93b miniupnpc-2.0.tar.gz" -sha512sums="e8bca24265086518fa3bdc25fc31371ddf878adaa2bd6a80b30f33a3e5adb831220e906302832f2250e489a73ecd7e6c9a6bfcb1c70258a90e4c4712196275de miniupnpc-2.0.tar.gz" +sha512sums="71ec052ef6c8ad0d529e467ddae6eae19a93b9816174eeac753aa90e036cc2f00cf7e8d1cdb188ef8280849a988fe2995e37b63f8e2a361e021c1d1b306bff6f miniupnpc-2.0.20170509.tar.gz" |