wok-6.x view vanessa_logger/receipt @ rev 14179

Up aufs (20130311)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 10 22:10:51 2013 +0100 (2013-03-10)
parents 3c0c76a7be6e
children 2a21689b0af7
line source
1 # SliTaz package receipt.
3 PACKAGE="vanessa_logger"
4 VERSION="0.0.7"
5 CATEGORY="network"
6 SHORT_DESC="generic logging layer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.vergenet.net/linux/vanessa"
10 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure &&
17 make && make DESTDIR=$DESTDIR install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib
24 cp -a $_pkg/usr/bin $fs/usr
25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
26 for i in $(cd $WOK; ls -d vanessa_logger-*)
27 do
28 if [ -x /usr/bin/cook ]; then
29 cook $i
30 else
31 tazwok cook $i
32 fi
33 done
34 }