Date: Monday, March 17, 2014 @ 03:11:19 Author: anatolik Revision: 107316
Add libnatpmp (mldonkey wants this dependency) Added: libnatpmp/ libnatpmp/repos/ libnatpmp/trunk/ libnatpmp/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Added: libnatpmp/trunk/PKGBUILD =================================================================== --- libnatpmp/trunk/PKGBUILD (rev 0) +++ libnatpmp/trunk/PKGBUILD 2014-03-17 02:11:19 UTC (rev 107316) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol dot pomozov at gmail> +# Contributor: Gustavo Alvarez <s1pk...@gmail.com> +# Contributor: Kristjan Reinloo <mail at kreinloo dot net> +# Contributor: Pierre Bourdon <delr...@gmail.com> + +pkgname=libnatpmp +pkgver=20131126 +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) +source=(http://miniupnp.tuxfamily.org/files/libnatpmp-$pkgver.tar.gz) +sha1sums=('604a620fa38e0681d4822400156db2daaee954d1') + +prepare() { + sed -e 's/CFLAGS = /CFLAGS += /' -i $pkgname-$pkgver/Makefile +} + +build() { + cd $pkgname-$pkgver + make +} + +package() { + cd $pkgname-$pkgver + make INSTALLPREFIX="$pkgdir/usr" INSTALLDIRINC="$pkgdir/usr/include" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Property changes on: libnatpmp/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property