void-packages/srcpkgs/libnl3/template
2014-06-27 19:16:30 +02:00

39 lines
926 B
Text

# Template file for 'libnl3'
pkgname=libnl3
version=3.2.24
revision=2
wrksrc=libnl-${version}
build_style=gnu-configure
hostmakedepends="automake flex libtool pkg-config"
makedepends="libfl-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=fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd6816
pre_configure() {
autoreconf -fi
}
libnl3-devel_package() {
depends="libnl3>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
libnl3-progs_package() {
short_desc+=" - cli utilities"
pkg_install() {
vmove usr/sbin
vmove usr/share/man/man8
vmove usr/lib/libnl
}
}