wok-next view bogofilter/receipt @ rev 19978
Receipts v2: xmlrpc-c, yaml, zeromq.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:15:00 2017 +0300 (2017-10-18) |
parents | eb8067417980 |
children | 2809ecb8c754 |
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 }