wok view bogofilter/receipt @ rev 20095
slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 05 23:51:00 2017 +0300 (2017-10-05) |
parents | eb8067417980 |
children | 319f735969b9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bogofilter"
4 VERSION="1.2.4"
5 CATEGORY="network"
6 SHORT_DESC="Mail filter that classifies mail as spam or ham."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://bogofilter.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="mail email filter spam C"
14 DEPENDS="sqlite gsl"
15 BUILD_DEPENDS="sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --with-database=sqlite3 \
22 --prefix=/usr --sysconfdir=/etc/bogofilter \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/etc $fs
35 chmod +x $fs/usr/bin/bf_*
36 }