wok-6.x annotate bogofilter/receipt @ rev 20058

Up slitaz-base-files (331), slitaz-boot-scripts (443).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 12 02:02:47 2017 +0300 (2017-09-12)
parents eb8067417980
children 319f735969b9
rev   line source
pankso@40 1 # SliTaz package receipt.
pankso@40 2
pankso@40 3 PACKAGE="bogofilter"
pankso@18305 4 VERSION="1.2.4"
pankso@203 5 CATEGORY="network"
pankso@40 6 SHORT_DESC="Mail filter that classifies mail as spam or ham."
pankso@40 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2 GPL3"
pankso@40 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@40 10 WEB_SITE="http://bogofilter.sourceforge.net/"
pankso@40 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@3567 12 TAGS="mail email filter spam C"
pankso@40 13
pascal@15579 14 DEPENDS="sqlite gsl"
pascal@15579 15 BUILD_DEPENDS="sqlite-dev"
pascal@15579 16
pankso@40 17 # Rules to configure and make the package.
pankso@40 18 compile_rules()
pankso@40 19 {
pankso@40 20 cd $src
pankso@40 21 ./configure --with-database=sqlite3 \
pankso@18305 22 --prefix=/usr --sysconfdir=/etc/bogofilter \
pankso@18305 23 --infodir=/usr/share/info \
pankso@18305 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1491 25 make &&
pascal@15579 26 make DESTDIR=$DESTDIR install
pankso@40 27 }
pankso@40 28
pankso@40 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@40 30 genpkg_rules()
pankso@40 31 {
pankso@40 32 mkdir -p $fs/usr
pascal@15579 33 cp -a $install/usr/bin $fs/usr
pascal@15579 34 cp -a $install/etc $fs
pankso@116 35 chmod +x $fs/usr/bin/bf_*
pankso@40 36 }