wok-stable view vanessa_adt/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents 3334406ef266
children 607a44ef6369
line source
1 # SliTaz package receipt.
3 PACKAGE="vanessa_adt"
4 VERSION="0.0.6"
5 CATEGORY="network"
6 SHORT_DESC="Abstract Data Types."
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"
11 DEPENDS="vanessa_logger"
12 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 for i in $(cd $WOK; ls -d vanessa_adt-*)
30 do
31 tazwok cook $i
32 done
33 }