wok-6.x annotate vanessa_logger/receipt @ rev 9776
vanessa_logger: fix genpkg_rules for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 22:44:41 2011 +0200 (2011-05-11) |
parents | 8450e8bc287a |
children | 3c0c76a7be6e |
rev | line source |
---|---|
pascal@1215 | 1 # SliTaz package receipt. |
pascal@1215 | 2 |
pascal@1215 | 3 PACKAGE="vanessa_logger" |
pascal@1215 | 4 VERSION="0.0.7" |
pascal@1215 | 5 CATEGORY="network" |
pascal@1215 | 6 SHORT_DESC="generic logging layer." |
pascal@1215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1215 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1215 | 9 WEB_SITE="http://www.vergenet.net/linux/vanessa" |
pascal@1215 | 10 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" |
pascal@1215 | 11 |
pascal@1215 | 12 # Rules to configure and make the package. |
pascal@1215 | 13 compile_rules() |
pascal@1215 | 14 { |
pascal@1215 | 15 cd $src |
pascal@1215 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1215 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1215 | 18 make |
pascal@1215 | 19 make DESTDIR=$PWD/_pkg install |
pascal@1215 | 20 } |
pascal@1215 | 21 |
pascal@1215 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1215 | 23 genpkg_rules() |
pascal@1215 | 24 { |
pascal@1215 | 25 mkdir -p $fs/usr/lib |
pascal@1215 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@1215 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1215 | 28 for i in $(cd $WOK; ls -d vanessa_logger-*) |
pascal@1215 | 29 do |
pankso@9776 | 30 if [ -x /usr/bin/cook ]; the |
pankso@9776 | 31 cook $1 |
pankso@9776 | 32 else |
pankso@9776 | 33 tazwok cook $i |
pankso@9776 | 34 fi |
pascal@1215 | 35 done |
pascal@1215 | 36 } |
pascal@1215 | 37 |