wok annotate libnl/receipt @ rev 16417

ARM: add libbsd and fix libnl *.a
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 17 14:30:15 2014 +0200 (2014-04-17)
parents fa39e0a3612e
children 7b53d031ba71
rev   line source
pascal@1110 1 # SliTaz package receipt.
pascal@1110 2
pascal@1110 3 PACKAGE="libnl"
pascal@13463 4 VERSION="3.2.13"
pascal@1110 5 CATEGORY="network"
pascal@1110 6 SHORT_DESC="netlink library."
pascal@1110 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
pascal@1110 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1110 10 WEB_SITE="http://people.suug.ch/~tgr/libnl"
pascal@1110 11 WGET_URL="$WEB_SITE/files/$TARBALL"
pankso@16027 12 HOST_ARCH="i486 arm"
pascal@1110 13
pankso@16027 14 # Cross compile needs host flex
pascal@13463 15 BUILD_DEPENDS="flex"
pascal@13463 16
pascal@1110 17 # Rules to configure and make the package.
pascal@1110 18 compile_rules()
pascal@1110 19 {
pankso@16395 20 ./configure \
pankso@16395 21 --sysconfdir=/etc \
pankso@16395 22 $CONFIGURE_ARGS &&
pankso@16027 23 make && make install
pascal@1110 24 }
pascal@1110 25
pascal@1110 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1110 27 genpkg_rules()
pascal@1110 28 {
pankso@15894 29 mkdir -p $fs/usr/lib
pankso@16395 30 cp -a $install/etc $fs
pankso@15894 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@15894 32 cp -a $install/usr/lib/libnl $fs/usr/lib
pankso@16417 33 find $fs/usr/lib -type f -name "*.*a" -exec rm -f {} \;
pascal@1110 34 }