27 lines
998 B
Bash
27 lines
998 B
Bash
# Template file for 'libnetfilter_log'
|
|
pkgname=libnetfilter_log
|
|
version=1.0.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libnfnetlink-devel"
|
|
license="GPL-2"
|
|
homepage="http://www.netfilter.org/projects/libnetfilter_log/index.html"
|
|
short_desc="A userspace library providing interface to packets that have been logged by the kernel packet filter"
|
|
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
|
|
checksum=74e0fe75753dba3ac114531b5e73240452c789a3f3adccf5c51217da1d933b21
|
|
|
|
pre_configure() {
|
|
sed -i 's/u_int\([0-9]*\)_t/uint\1_t/' utils/* src/* include/libnetfilter_log/*
|
|
}
|
|
|
|
libnetfilter_log-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
|
|
}
|
|
}
|