28 lines
928 B
Bash
28 lines
928 B
Bash
# Template file for 'libnetfilter_conntrack'
|
|
pkgname=libnetfilter_conntrack
|
|
version=1.0.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libnfnetlink-devel libmnl-devel"
|
|
license="GPL-2"
|
|
homepage="http://www.netfilter.org/projects/libnetfilter_conntrack/index.html"
|
|
short_desc="A userspace library providing an API to the in-kernel connection tracking state table"
|
|
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
|
|
checksum=efcc08021284e75f4d96d3581c5155a11f08fd63316b1938cbcb269c87f37feb
|
|
|
|
pre_configure() {
|
|
sed -i 's/u_int\([0-9]*\)_t/uint\1_t/' $(find -name '*.[ch]')
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|