wok-next annotate libnl/receipt @ rev 16195
Up: asunder (2.5)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Mar 30 21:05:49 2014 +0000 (2014-03-30) |
parents | c7df6249e093 |
children | fa39e0a3612e |
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@16027 | 20 ./configure $CONFIGURE_ARGS && |
pankso@16027 | 21 make && make install |
pascal@1110 | 22 } |
pascal@1110 | 23 |
pascal@1110 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 25 genpkg_rules() |
pascal@1110 | 26 { |
pankso@15894 | 27 mkdir -p $fs/usr/lib |
pankso@15894 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15894 | 29 cp -a $install/usr/lib/libnl $fs/usr/lib |
pankso@15894 | 30 find $fs/usr/lib -type f -name "*.a*" -exec rm -f {} \; |
pascal@1110 | 31 } |