wok-6.x view bogofilter/receipt @ rev 2130

enchant: update depends
author Paul Issott <paul@slitaz.org>
date Mon Feb 02 11:46:12 2009 +0000 (2009-02-02)
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 }