wok-6.x view bogofilter/receipt @ rev 1404
Add perl-crypt-smbhash
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 23 14:14:01 2008 +0000 (2008-09-23) |
parents | 00b8d39101ac |
children | 4c400bd09135 |
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 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 }