2011-10-29 12:01:59 +02:00
|
|
|
# Template file for 'libnl3'
|
|
|
|
pkgname=libnl3
|
2013-11-28 16:08:20 +01:00
|
|
|
version=3.2.23
|
2013-06-17 07:40:11 +02:00
|
|
|
revision=1
|
2011-10-29 12:01:59 +02:00
|
|
|
wrksrc=libnl-${version}
|
|
|
|
build_style=gnu-configure
|
2013-11-28 16:08:20 +01:00
|
|
|
hostmakedepends="flex libtool"
|
|
|
|
makedepends="libfl-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
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"
|
2013-02-16 10:36:51 +01:00
|
|
|
homepage="http://www.infradead.org/~tgr/libnl"
|
|
|
|
distfiles="${homepage}/files/libnl-${version}.tar.gz"
|
2013-11-28 16:08:20 +01:00
|
|
|
checksum=8cc2cda9aa8cbbad384b9bb1ba0f6777ed9bf65e1cc3170d8c2ba5b3ee12f2b3
|
2011-10-29 12:01:59 +02:00
|
|
|
|
2013-11-28 16:08:20 +01:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
2013-04-13 10:15:49 +02: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"
|
2013-04-13 10:15:49 +02:00
|
|
|
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"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnl3-progs_package() {
|
2013-06-17 07:40:11 +02:00
|
|
|
short_desc+=" - cli utilities"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/sbin
|
|
|
|
vmove usr/share/man/man8
|
|
|
|
vmove usr/lib/libnl
|
|
|
|
}
|
|
|
|
}
|