wok view vanessa_adt/receipt @ rev 1564

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 13 14:51:37 2008 +0000 (2008-10-13)
parents 8450e8bc287a
children 6f500409e5bf
line source
1 # SliTaz package receipt.
3 PACKED_SIZE="2.8M"
4 UNPACKED_SIZE="2.8M"
5 PACKAGE="vanessa_adt"
6 VERSION="0.0.6"
7 CATEGORY="network"
8 SHORT_DESC="Abstract Data Types."
9 MAINTAINER="pascal.bellard@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.vergenet.net/linux/vanessa"
12 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="vanessa_logger"
14 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 for i in $(cd $WOK; ls -d vanessa_adt-*)
32 do
33 tazwok cook $i
34 done
35 }