void-packages/srcpkgs/libnl3/template

25 lines
690 B
Plaintext

# Template file for 'libnl3'
pkgname=libnl3
version=3.2.11
revision=2
wrksrc=libnl-${version}
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="flex"
subpackages="${pkgname}-progs ${pkgname}-devel"
conf_files="/etc/libnl/pktloc /etc/libnl/classid"
short_desc="Netlink Protocol Library Suite"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.infradead.org/~tgr/libnl"
distfiles="${homepage}/files/libnl-${version}.tar.gz"
checksum=9750409c0fec8b27966a65d94c040647ee01753e0947b0d59577b815ee0e710d
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake flex"
makedepends="libfl-devel"
pre_configure() {
autoreconf -fi
}
fi