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

Add libjson
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 02 20:52:57 2014 +0200 (2014-07-02)
parents e97e356acf02
children 67f5b3bae0a8
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.vergenet.net/linux/vanessa"
11 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure &&
18 make && make DESTDIR=$DESTDIR install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $install/usr/bin $fs/usr
26 cp -a $install/usr/lib/*.so* $fs/usr/lib
27 for i in $(cd $WOK; ls -d vanessa_logger-*)
28 do
29 if [ -x /usr/bin/cook ]; then
30 cook $i
31 else
32 tazwok cook $i
33 fi
34 done
35 }