updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / libnatpmp / PKGBUILD
blob54fe43509e19f43ea4fe0bef1e2f91662bf95835
1 # Maintainer: Pierre Bourdon <delroth@gmail.com>
3 pkgname=libnatpmp
4 pkgver=20110808
5 pkgrel=1
6 pkgdesc="A portable and fully compliant implementation of the NAT-PMP protocol"
7 arch=('i686' 'x86_64')
8 url="http://miniupnp.free.fr/libnatpmp.html"
9 license=('custom:BSD')
10 depends=('glibc')
11 makedepends=()
12 source=(http://miniupnp.free.fr/files/download.php?file=libnatpmp-$pkgver.tar.gz)
14 build() {
15     cd "$srcdir/$pkgname-$pkgver"
16     make
19 package() {
20     cd "$srcdir/$pkgname-$pkgver"
21     make INSTALLPREFIX="$pkgdir/usr" \
22          INSTALLDIRINC="$pkgdir/usr/include/libnatpmp" install
24     # Needed by some packages
25     install -m 644 getgateway.h declspec.h "$pkgdir/usr/include/libnatpmp"
27 md5sums=('22a1225b890471a7750a9bf26eb863f7')