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