wok-current view bogofilter/receipt @ rev 22911
filezilla: added build dependency libunistring-dev
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 24 09:59:25 2020 +0100 (2020-02-24) |
parents | 7e2791244ffc |
children | 5f6c5106b1f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bogofilter"
4 VERSION="1.2.5"
5 CATEGORY="network"
6 TAGS="mail email filter spam C"
7 SHORT_DESC="Mail filter that classifies mail as spam or ham."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2 GPL3"
10 WEB_SITE="https://www.bogofilter.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gsl sqlite"
16 BUILD_DEPENDS="sqlite-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --with-database=sqlite3 \
23 --prefix=/usr \
24 --sysconfdir=/etc/bogofilter \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/etc $fs
39 chmod +x $fs/usr/bin/bf_*
40 }