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