void-packages/srcpkgs/libnftnl/template

24 lines
696 B
Bash

# Template file for 'libnftnl'
pkgname=libnftnl
version=1.0.9
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libmnl-devel"
short_desc="Low-level netlink interface to nf_tables"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://www.netfilter.org/projects/libnftnl/"
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
checksum=fec1d824aee301e59a11aeaae2a2d429cb99ead81e6bafab791a4dd6569b3635
libnftnl-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}