void-packages/srcpkgs/libnl3/template

24 lines
692 B
Text

# Template file for 'libnl3'
pkgname=libnl3
version=3.2.11
revision=2
wrksrc=libnl-${version}
build_style=gnu-configure
configure_args="--disable-static"
makedepends="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 [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake flex"
crossmakedepends="libfl-devel"
pre_configure() {
autoreconf -fi
}
fi