libnl3: rebuild for -dbg pkgs; cross build support.

This commit is contained in:
Juan RP 2013-02-16 10:36:51 +01:00
parent 8b0933f19b
commit 7a02a61c88
3 changed files with 14 additions and 21 deletions

View File

@ -1,11 +1,8 @@
# Template file for 'libnl-devel'.
#
noarch=yes
depends="glibc-devel libnl3>=$version"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
depends="libnl3>=${version}"
short_desc="${short_desc} -- development files"
do_install() {
vmove usr/include usr

View File

@ -1,12 +1,8 @@
# Template file for 'libnl-progs'.
#
short_desc="${sourcepkg} - cli utilities"
long_desc="${long_desc}
short_desc="${short_desc} - cli utilities"
This package contains the command line utilities bundled with libnl."
do_install()
{
do_install() {
vmove usr/sbin usr
vmove usr/share/man/man8 usr/share/man
vmove usr/lib/libnl usr/lib

View File

@ -1,10 +1,8 @@
# Template file for 'libnl3'
pkgname=libnl3
version=3.2.11
revision=1
revision=2
wrksrc=libnl-${version}
homepage="http://www.infradead.org/~tgr/libnl"
distfiles="${homepage}/files/libnl-${version}.tar.gz"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="flex"
@ -13,12 +11,14 @@ conf_files="/etc/libnl/pktloc /etc/libnl/classid"
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"
checksum=9750409c0fec8b27966a65d94c040647ee01753e0947b0d59577b815ee0e710d
long_desc="
The libnl suite is a collection of libraries providing APIs to netlink
protocol based Linux kernel interfaces.
Netlink is a IPC mechanism primarly between the kernel and user space
processes. It was designed to be a more flexible successor to ioctl to
provide mainly networking related kernel configuration and monitoring
interfaces."
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake flex"
crossmakedepends="libfl-devel"
pre_configure() {
autoreconf -fi
}
fi