void-packages/srcpkgs/libnl3/template

40 lines
926 B
Plaintext
Raw Normal View History

2011-10-29 12:01:59 +02:00
# Template file for 'libnl3'
pkgname=libnl3
2014-02-28 09:24:40 +01:00
version=3.2.24
revision=2
2011-10-29 12:01:59 +02:00
wrksrc=libnl-${version}
build_style=gnu-configure
2014-06-27 19:16:30 +02:00
hostmakedepends="automake flex libtool pkg-config"
2013-11-28 16:08:20 +01:00
makedepends="libfl-devel"
conf_files="/etc/libnl/pktloc /etc/libnl/classid"
2011-10-29 12:01:59 +02:00
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"
2014-02-28 09:24:40 +01:00
checksum=fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd6816
2011-10-29 12:01:59 +02:00
2013-11-28 16:08:20 +01:00
pre_configure() {
2014-06-27 19:16:30 +02:00
autoreconf -fi
2013-11-28 16:08:20 +01:00
}
libnl3-devel_package() {
2013-11-28 16:08:20 +01:00
depends="libnl3>=${version}_${revision}"
2013-06-17 07:40:11 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-11-28 16:08:20 +01:00
vmove "usr/lib/*.a"
2013-06-17 07:40:11 +02:00
vmove "usr/lib/*.so"
}
}
libnl3-progs_package() {
2013-06-17 07:40:11 +02:00
short_desc+=" - cli utilities"
pkg_install() {
vmove usr/sbin
vmove usr/share/man/man8
vmove usr/lib/libnl
}
}