void-packages/srcpkgs/libnftnl/template
2016-05-31 12:29:45 +02:00

23 lines
710 B
Bash

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