2011-10-29 10:01:59 +00:00
|
|
|
# Template file for 'libnl3'
|
|
|
|
pkgname=libnl3
|
2012-06-26 07:51:50 +00:00
|
|
|
version=3.2.11
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=3
|
2011-10-29 10:01:59 +00:00
|
|
|
wrksrc=libnl-${version}
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="flex"
|
2011-10-29 10:01:59 +00:00
|
|
|
short_desc="Netlink Protocol Library Suite"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
2013-02-16 09:36:51 +00:00
|
|
|
homepage="http://www.infradead.org/~tgr/libnl"
|
|
|
|
distfiles="${homepage}/files/libnl-${version}.tar.gz"
|
2012-06-26 07:51:50 +00:00
|
|
|
checksum=9750409c0fec8b27966a65d94c040647ee01753e0947b0d59577b815ee0e710d
|
2011-10-29 10:01:59 +00:00
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends+=" automake libtool"
|
2013-03-24 09:21:58 +00:00
|
|
|
makedepends="libfl-devel"
|
2013-02-16 09:36:51 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libnl3-devel_package() {
|
|
|
|
depends="libnl3>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnl3-progs_package() {
|
|
|
|
short_desc="${short_desc} - cli utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/sbin
|
|
|
|
vmove usr/share/man/man8
|
|
|
|
vmove usr/lib/libnl
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnl3_package() {
|
|
|
|
conf_files="/etc/libnl/pktloc /etc/libnl/classid"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|