# Template file for 'libnetfilter_conntrack'
pkgname=libnetfilter_conntrack
version=1.1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libnfnetlink-devel libmnl-devel"
short_desc="Library providing an API to the in-kernel connection tracking table"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.netfilter.org/projects/libnetfilter_conntrack/index.html"
distfiles="http://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-${version}.tar.xz"
checksum=67edcb4eb826c2f8dc98af08dabff68f3b3d0fe6fb7d9d0ac1ee7ecce0fe694e

libnetfilter_conntrack-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} libnfnetlink-devel"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
