wok-next annotate bogofilter/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | 02bbaa9d12ba |
children | 7e2791244ffc |
rev | line source |
---|---|
pankso@40 | 1 # SliTaz package receipt. |
pankso@40 | 2 |
pankso@40 | 3 PACKAGE="bogofilter" |
slaxemulator@7699 | 4 VERSION="1.2.2" |
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@40 | 22 --prefix=/usr --sysconfdir=/etc/bogofilter \ |
pankso@40 | 23 --infodir=/usr/share/info \ |
pascal@1491 | 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 } |