wok annotate vanessa_logger/receipt @ rev 15566

Up: thunderbird-langpack-sv_SE (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:37:52 2013 +0100 (2013-11-24)
parents e97e356acf02
children 67f5b3bae0a8
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@15363 8 LICENSE="LGPL2.1"
pascal@1215 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1215 10 WEB_SITE="http://www.vergenet.net/linux/vanessa"
pascal@1215 11 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
pascal@1215 12
pascal@1215 13 # Rules to configure and make the package.
pascal@1215 14 compile_rules()
pascal@1215 15 {
pascal@1215 16 cd $src
pankso@9777 17 ./configure &&
pankso@9777 18 make && make DESTDIR=$DESTDIR install
pascal@1215 19 }
pascal@1215 20
pascal@1215 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1215 22 genpkg_rules()
pascal@1215 23 {
pascal@1215 24 mkdir -p $fs/usr/lib
pascal@15363 25 cp -a $install/usr/bin $fs/usr
pascal@15363 26 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1215 27 for i in $(cd $WOK; ls -d vanessa_logger-*)
pascal@1215 28 do
pankso@9777 29 if [ -x /usr/bin/cook ]; then
pankso@9778 30 cook $i
pankso@9776 31 else
pankso@9776 32 tazwok cook $i
pankso@9776 33 fi
pascal@1215 34 done
pascal@1215 35 }
pascal@1215 36