From 8cfc31126e3fd7c3b829c8ce3e055dc2a389a287 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 7 Aug 2014 01:28:11 +0200 Subject: [PATCH] New package: libnftnl-1.0.2 --- common/shlibs | 1 + srcpkgs/libnftnl-devel | 1 + srcpkgs/libnftnl/template | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 120000 srcpkgs/libnftnl-devel create mode 100644 srcpkgs/libnftnl/template diff --git a/common/shlibs b/common/shlibs index acaa7f059e8..c89414c3119 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1692,3 +1692,4 @@ libkdcraw.so.23 libkdcraw-4.13.3_1 libchm.so.0 libchmlib-0.40_1 libokularcore.so.4 libokular-4.13.3_1 libmnl.so.0 libmnl-1.0.3_1 +libnftnl.so.0 libnftnl-1.0.2_1 diff --git a/srcpkgs/libnftnl-devel b/srcpkgs/libnftnl-devel new file mode 120000 index 00000000000..e8aeb1e87f2 --- /dev/null +++ b/srcpkgs/libnftnl-devel @@ -0,0 +1 @@ +libnftnl \ No newline at end of file diff --git a/srcpkgs/libnftnl/template b/srcpkgs/libnftnl/template new file mode 100644 index 00000000000..426620d2141 --- /dev/null +++ b/srcpkgs/libnftnl/template @@ -0,0 +1,23 @@ +# Template file for 'libnftnl' +pkgname=libnftnl +version=1.0.2 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="libmnl-devel" +short_desc="Low-level netlink interface to nf_tables" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://www.netfilter.org/projects/libnftnl/" +distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2" +checksum=78ce27b2e3f513c2f8d9570570e96224a8f55c6ef2c67443bb91d082364346dc + +libnftnl-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +}