wok view bogofilter/receipt @ rev 235

Add: shfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 17 10:53:05 2008 +0100 (2008-02-17)
parents 1b129a8fd309
children e85d3536a699
line source
1 # SliTaz package receipt.
3 PACKAGE="bogofilter"
4 VERSION="1.1.6"
5 CATEGORY="network"
6 SHORT_DESC="Mail filter that classifies mail as spam or ham."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="sqlite"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://bogofilter.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --with-database=sqlite3 \
18 --prefix=/usr --sysconfdir=/etc/bogofilter \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/etc $fs
31 chmod +x $fs/usr/bin/bf_*
32 strip -s $fs/usr/bin/* 2>/dev/null
33 }