wok annotate vanessa_adt/receipt @ rev 1215

Add perdition (pop3/imap proxy)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 09 21:05:27 2008 +0000 (2008-08-09)
parents
children 3334406ef266
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@1215 21 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1215 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/bin $fs/usr
pascal@1215 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1215 32 for i in $(cd $WOK; ls -d vanessa_adt-*)
pascal@1215 33 do
pascal@1215 34 tazwok cook $i
pascal@1215 35 done
pascal@1215 36 }
pascal@1215 37