summaryrefslogtreecommitdiff
path: root/extra/libnftnl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libnftnl/PKGBUILD')
-rw-r--r--extra/libnftnl/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/libnftnl/PKGBUILD b/extra/libnftnl/PKGBUILD
new file mode 100644
index 000000000..6f4aedc5d
--- /dev/null
+++ b/extra/libnftnl/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 217763 2014-07-23 22:36:56Z seblu $
+# Maintainer: Sébastien Luttringer
+
+pkgname=libnftnl
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='Netfilter library providing interface to the nf_tables subsystem'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/libnftnl/'
+license=('GPL2')
+depends=('libmnl')
+source=("http://netfilter.org/projects/libnftnl/files/libnftnl-$pkgver.tar.bz2"{,.sig})
+sha1sums=('19b6903b3dc2a86cc13bb560ae55f779b92cae69'
+ 'SKIP')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: