24 lines
710 B
Bash
24 lines
710 B
Bash
# Template file for 'libnftnl'
|
|
pkgname=libnftnl
|
|
version=1.0.5
|
|
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=f6d4f5a702e38bc7987f2363f9fcd65930e8b702595c221a497e2f3a359be497
|
|
|
|
libnftnl-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|