blob: 0fa0ff469f3039ce15bec464bc2ae02b55182b25 (
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
|
# Maintainer: Pierre Bourdon <delroth@gmail.com>
# Maintainer: Parabola Gnu / Linux-libre Aurélien Desbrières
pkgname=libnatpmp
pkgver=20120821
pkgrel=1
pkgdesc="A portable and fully compliant implementation of the NAT-PMP protocol"
arch=('i686' 'x86_64')
url="http://miniupnp.free.fr/libnatpmp.html"
license=('custom:BSD')
depends=('glibc')
makedepends=()
source=(http://miniupnp.free.fr/files/download.php?file=libnatpmp-$pkgver.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make INSTALLPREFIX="$pkgdir/usr" \
INSTALLDIRINC="$pkgdir/usr/include/libnatpmp" install
# Needed by some packages
install -m 644 getgateway.h declspec.h "$pkgdir/usr/include/libnatpmp"
}
md5sums=('22a1225b890471a7750a9bf26eb863f7')
|