wok-current view bogofilter/receipt @ rev 1635

php: fix lighttpd.conf update
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 23 20:38:19 2008 +0000 (2008-10-23)
parents e85d3536a699
children 230ebda0b94a
line source
1 # SliTaz package receipt.
3 PACKAGE="bogofilter"
4 VERSION="1.1.7"
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 }