diff options
author | root <root@rshg054.dnsready.net> | 2012-09-24 00:22:59 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-24 00:22:59 -0700 |
commit | 8f0a971364bf8fee254a13a94adf2bfa9173e804 (patch) | |
tree | 8b25f3fa8cb2e7b6b61d26a667d5f6e3ad967b70 /social/libnatpmp/PKGBUILD | |
parent | a7f8166c8968d3414378051d28dcfcc3e377837b (diff) |
Mon Sep 24 00:22:58 PDT 2012
Diffstat (limited to 'social/libnatpmp/PKGBUILD')
-rw-r--r-- | social/libnatpmp/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/social/libnatpmp/PKGBUILD b/social/libnatpmp/PKGBUILD new file mode 100644 index 000000000..e81d3445f --- /dev/null +++ b/social/libnatpmp/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Pierre Bourdon <delroth@gmail.com> + +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=('BSD') +depends=('glibc') +makedepends=() +source=(libnatpmp-$pkgver.tar.gz::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" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} +md5sums=('d2b9c2dedba3a00deb0e7589982ceced') |