wok view bogofilter/receipt @ rev 17177

Up?slitaz-tools s/gz/bz2
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Sep 26 18:13:35 2014 +0200 (2014-09-26)
parents 02bbaa9d12ba
children 7e2791244ffc
line source
1 # SliTaz package receipt.
3 PACKAGE="bogofilter"
4 VERSION="1.2.2"
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 }