mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-11 03:32:17 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
41 lines
996 B
Plaintext
41 lines
996 B
Plaintext
# 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
|
|
}
|
|
|
|
md5sums="065bf20a20ebe605c675b7a5aaef340a miniupnpc-1.8.tar.gz"
|
|
sha256sums="bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c miniupnpc-1.8.tar.gz"
|
|
sha512sums="8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 miniupnpc-1.8.tar.gz"
|