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

Up: bogofilter (1.2.4)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Aug 24 09:12:53 2015 +0200 (2015-08-24)
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 }