wok-next annotate bogofilter/receipt @ rev 20247

libnfc-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 11:14:26 2017 +0100 (2017-11-07)
parents 7e2791244ffc
children 757d032c55c7
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@20098 14 DEPENDS="sqlite3 gsl"
pascal@20098 15 BUILD_DEPENDS="sqlite3-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 }