Merge pull request #2060 from pullmoll/libnfnetlink

libnfnetlink: unbreak musl
This commit is contained in:
Jürgen Buchmüller 2015-07-22 08:14:48 +02:00
commit 244e1eb464

View file

@ -1,15 +1,19 @@
# Template file for 'libnfnetlink'
pkgname=libnfnetlink
version=1.0.1
revision=1
revision=2
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
license="GPL-2"
homepage="http://www.netfilter.org/projects/libnfnetlink/index.html"
short_desc="A low-level library for netfilter related kernel/userspace communication"
short_desc="A low-level library for netfilter kernel/userspace communication"
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
checksum=f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a
post_configure() {
find ${wrksrc} -type f -exec sed -e "s;u_int;uint;g" -i "{}" \;
}
libnfnetlink-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"