wok-next annotate bogofilter/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 757d032c55c7
children 1b4816ca3fef
rev   line source
al@20534 1 # SliTaz package receipt v2.
pankso@40 2
pankso@40 3 PACKAGE="bogofilter"
pankso@18305 4 VERSION="1.2.4"
pankso@203 5 CATEGORY="network"
al@20534 6 SHORT_DESC="Mail filter that classifies mail as spam or ham"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15579 8 LICENSE="GPL2 GPL3"
al@20534 9 WEB_SITE="http://bogofilter.sourceforge.net/"
al@20534 10
pankso@40 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@40 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@40 13
pascal@20098 14 BUILD_DEPENDS="sqlite3-dev"
pascal@15579 15
al@20534 16 compile_rules() {
al@20534 17 ./configure \
al@20534 18 --with-database=sqlite3 \
al@20534 19 --sysconfdir=/etc/bogofilter \
al@20534 20 $CONFIGURE_ARGS &&
pascal@1491 21 make &&
al@21020 22 make DESTDIR=$install install || return 1
al@20534 23
al@20534 24 chmod +x $install/usr/bin/bf_*
pankso@40 25 }
pankso@40 26
al@20534 27 genpkg_rules() {
al@20534 28 copy @std
al@20534 29 DEPENDS="sqlite3 gsl"
al@20534 30 TAGS="mail email filter spam C"
pankso@40 31 }