diff --git a/srcpkgs/libnl3/template b/srcpkgs/libnl3/template index 0ea089628fb..413c31556e8 100644 --- a/srcpkgs/libnl3/template +++ b/srcpkgs/libnl3/template @@ -1,32 +1,29 @@ # Template file for 'libnl3' pkgname=libnl3 -version=3.2.22 +version=3.2.23 revision=1 wrksrc=libnl-${version} build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="flex" +hostmakedepends="flex libtool" +makedepends="libfl-devel" 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=c7c5f267dfeae0c1a530bf96b71fb7c8dbbb07d54beef49b6712d8d6166f629b +checksum=8cc2cda9aa8cbbad384b9bb1ba0f6777ed9bf65e1cc3170d8c2ba5b3ee12f2b3 -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" automake libtool pkg-config" - makedepends="libfl-devel" - pre_configure() { - autoreconf -fi - } -fi +pre_configure() { + libtoolize -f +} libnl3-devel_package() { - depends="libnl3>=${version}" + depends="libnl3>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" vmove "usr/lib/*.so" } }