2011-10-29 10:01:59 +00:00
|
|
|
# Template file for 'libnl3'
|
|
|
|
pkgname=libnl3
|
2014-07-31 06:16:10 +00:00
|
|
|
version=3.2.25
|
|
|
|
revision=1
|
2011-10-29 10:01:59 +00:00
|
|
|
wrksrc=libnl-${version}
|
|
|
|
build_style=gnu-configure
|
2014-07-31 06:16:10 +00:00
|
|
|
configure_args="--disable-static"
|
2014-06-27 17:16:30 +00:00
|
|
|
hostmakedepends="automake flex libtool pkg-config"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/libnl/pktloc /etc/libnl/classid"
|
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"
|
2014-11-03 12:42:30 +00:00
|
|
|
update_pkgname=libnl
|
2013-02-16 09:36:51 +00:00
|
|
|
distfiles="${homepage}/files/libnl-${version}.tar.gz"
|
2014-07-31 06:16:10 +00:00
|
|
|
checksum=8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5
|
2011-10-29 10:01:59 +00:00
|
|
|
|
2013-11-28 15:08:20 +00:00
|
|
|
pre_configure() {
|
2014-06-27 17:16:30 +00:00
|
|
|
autoreconf -fi
|
2013-11-28 15:08:20 +00:00
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libnl3-devel_package() {
|
2013-11-28 15:08:20 +00:00
|
|
|
depends="libnl3>=${version}_${revision}"
|
2013-06-17 05:40:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-06-17 05:40:11 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnl3-progs_package() {
|
2013-06-17 05:40:11 +00:00
|
|
|
short_desc+=" - cli utilities"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/sbin
|
|
|
|
vmove usr/share/man/man8
|
|
|
|
vmove usr/lib/libnl
|
|
|
|
}
|
|
|
|
}
|