wok annotate libnl/receipt @ rev 15894
libnl: remove devel files (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 22:53:55 2014 +0100 (2014-02-12) |
parents | 4904e3d374a9 |
children | e47c0281ba48 |
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" |
pascal@1110 | 12 |
pascal@13463 | 13 BUILD_DEPENDS="flex" |
pascal@13463 | 14 |
pascal@1110 | 15 # Rules to configure and make the package. |
pascal@1110 | 16 compile_rules() |
pascal@1110 | 17 { |
pascal@1110 | 18 cd $src |
pankso@9938 | 19 ./configure && make && make install |
pascal@1110 | 20 } |
pascal@1110 | 21 |
pascal@1110 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 23 genpkg_rules() |
pascal@1110 | 24 { |
pankso@15894 | 25 mkdir -p $fs/usr/lib |
pankso@15894 | 26 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15894 | 27 cp -a $install/usr/lib/libnl $fs/usr/lib |
pankso@15894 | 28 find $fs/usr/lib -type f -name "*.a*" -exec rm -f {} \; |
pascal@1110 | 29 } |