2011-10-29 12:01:59 +02:00
|
|
|
# Template file for 'libnl3'
|
|
|
|
pkgname=libnl3
|
2013-06-17 07:40:11 +02:00
|
|
|
version=3.2.22
|
|
|
|
revision=1
|
2011-10-29 12:01:59 +02:00
|
|
|
wrksrc=libnl-${version}
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="flex"
|
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-06-17 07:40:11 +02:00
|
|
|
checksum=c7c5f267dfeae0c1a530bf96b71fb7c8dbbb07d54beef49b6712d8d6166f629b
|
2011-10-29 12:01:59 +02:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-06-17 07:42:13 +02:00
|
|
|
hostmakedepends+=" automake libtool pkg-config"
|
2013-03-24 10:21:58 +01:00
|
|
|
makedepends="libfl-devel"
|
2013-02-16 10:36:51 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libnl3-devel_package() {
|
|
|
|
depends="libnl3>=${version}"
|
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-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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnl3_package() {
|
|
|
|
conf_files="/etc/libnl/pktloc /etc/libnl/classid"
|
|
|
|
pkg_install() {
|
2013-06-17 07:40:11 +02:00
|
|
|
vmove all
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|