wok-next annotate libnl/receipt @ rev 19102

firefox-official-*: provides browser-html5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 04 10:53:21 2016 +0200 (2016-05-04)
parents 093afdf01585
children 5ff41aaf68d9
rev   line source
pascal@1110 1 # SliTaz package receipt.
pascal@1110 2
pascal@1110 3 PACKAGE="libnl"
pascal@16804 4 VERSION="3.2.24"
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 }