wok-next annotate bogofilter/receipt @ rev 40
Add : sylpheed + bogofilter (anti spam)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:12:28 2007 +0100 (2007-12-18) |
parents | |
children | 1b129a8fd309 |
rev | line source |
---|---|
pankso@40 | 1 # SliTaz package receipt. |
pankso@40 | 2 |
pankso@40 | 3 PACKAGE="bogofilter" |
pankso@40 | 4 VERSION="1.1.6" |
pankso@40 | 5 CATEGORY="extra" |
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" |
pankso@40 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@40 | 10 WEB_SITE="http://bogofilter.sourceforge.net/" |
pankso@40 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@40 | 12 |
pankso@40 | 13 # Rules to configure and make the package. |
pankso@40 | 14 compile_rules() |
pankso@40 | 15 { |
pankso@40 | 16 cd $src |
pankso@40 | 17 ./configure --with-database=sqlite3 \ |
pankso@40 | 18 --prefix=/usr --sysconfdir=/etc/bogofilter \ |
pankso@40 | 19 --infodir=/usr/share/info \ |
pankso@40 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@40 | 21 make |
pankso@40 | 22 make DESTDIR=$PWD/_pkg install |
pankso@40 | 23 } |
pankso@40 | 24 |
pankso@40 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@40 | 26 genpkg_rules() |
pankso@40 | 27 { |
pankso@40 | 28 mkdir -p $fs/usr |
pankso@40 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@40 | 30 cp -a $_pkg/etc $fs |
pankso@40 | 31 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@40 | 32 } |