diff --git a/srcpkgs/libnl3/libnl3-devel.template b/srcpkgs/libnl3/libnl3-devel.template index 51a67ae0cf..38536ff801 100644 --- a/srcpkgs/libnl3/libnl3-devel.template +++ b/srcpkgs/libnl3/libnl3-devel.template @@ -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 diff --git a/srcpkgs/libnl3/libnl3-progs.template b/srcpkgs/libnl3/libnl3-progs.template index 89f170c084..39743a8464 100644 --- a/srcpkgs/libnl3/libnl3-progs.template +++ b/srcpkgs/libnl3/libnl3-progs.template @@ -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 diff --git a/srcpkgs/libnl3/template b/srcpkgs/libnl3/template index f1e35c361b..5e5f8a6581 100644 --- a/srcpkgs/libnl3/template +++ b/srcpkgs/libnl3/template @@ -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 " 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