wok-4.x annotate bogofilter/receipt @ rev 1491
Update BUILD_DEPENDS for bogofilter ecore gimp graphviz hydra libgnomeprintui mesa mjpegtools poppler psycopg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 12:58:12 2008 +0000 (2008-10-05) |
parents | e85d3536a699 |
children | 230ebda0b94a |
rev | line source |
---|---|
pankso@40 | 1 # SliTaz package receipt. |
pankso@40 | 2 |
pankso@40 | 3 PACKAGE="bogofilter" |
erjo@1243 | 4 VERSION="1.1.7" |
pankso@203 | 5 CATEGORY="network" |
pankso@40 | 6 SHORT_DESC="Mail filter that classifies mail as spam or ham." |
pankso@40 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@40 | 8 DEPENDS="sqlite" |
pascal@1491 | 9 BUILD_DEPENDS="sqlite-dev" |
pankso@40 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@40 | 11 WEB_SITE="http://bogofilter.sourceforge.net/" |
pankso@40 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@40 | 13 |
pankso@40 | 14 # Rules to configure and make the package. |
pankso@40 | 15 compile_rules() |
pankso@40 | 16 { |
pankso@40 | 17 cd $src |
pankso@40 | 18 ./configure --with-database=sqlite3 \ |
pankso@40 | 19 --prefix=/usr --sysconfdir=/etc/bogofilter \ |
pankso@40 | 20 --infodir=/usr/share/info \ |
pascal@1491 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1491 | 22 make && |
pankso@40 | 23 make DESTDIR=$PWD/_pkg install |
pankso@40 | 24 } |
pankso@40 | 25 |
pankso@40 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@40 | 27 genpkg_rules() |
pankso@40 | 28 { |
pankso@40 | 29 mkdir -p $fs/usr |
pankso@40 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@40 | 31 cp -a $_pkg/etc $fs |
pankso@116 | 32 chmod +x $fs/usr/bin/bf_* |
pankso@40 | 33 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@40 | 34 } |