wok view bogofilter/receipt @ rev 3236
Fix: rrdtool, enable perl site configuration
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 29 23:36:34 2009 +0200 (2009-05-29) |
parents | 4c400bd09135 |
children | 4ffc7c76d358 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bogofilter"
4 VERSION="1.2.0"
5 CATEGORY="network"
6 SHORT_DESC="Mail filter that classifies mail as spam or ham."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="sqlite"
9 BUILD_DEPENDS="sqlite-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://bogofilter.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --with-database=sqlite3 \
19 --prefix=/usr --sysconfdir=/etc/bogofilter \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/etc $fs
32 chmod +x $fs/usr/bin/bf_*
33 strip -s $fs/usr/bin/* 2>/dev/null
34 }