2014-08-06 23:28:11 +00:00
|
|
|
# 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 <chneukirchen@gmail.com>"
|
|
|
|
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() {
|
2014-11-23 14:32:12 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
2014-08-06 23:28:11 +00:00
|
|
|
}
|