wok-6.x annotate bogofilter/receipt @ rev 12517
Up: xorg-libXdmcp (1.1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 00:02:21 2012 +0200 (2012-04-25) |
parents | 2ad3eb5127a2 |
children | eb8067417980 |
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" |
gokhlayeh@5779 | 8 DEPENDS="sqlite gsl" |
pascal@1491 | 9 BUILD_DEPENDS="sqlite-dev" |
pankso@40 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@40 | 11 WEB_SITE="http://bogofilter.sourceforge.net/" |
pankso@40 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3567 | 13 TAGS="mail email filter spam C" |
pankso@40 | 14 |
pankso@40 | 15 # Rules to configure and make the package. |
pankso@40 | 16 compile_rules() |
pankso@40 | 17 { |
pankso@40 | 18 cd $src |
pankso@40 | 19 ./configure --with-database=sqlite3 \ |
pankso@40 | 20 --prefix=/usr --sysconfdir=/etc/bogofilter \ |
pankso@40 | 21 --infodir=/usr/share/info \ |
pascal@1491 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1491 | 23 make && |
pankso@40 | 24 make DESTDIR=$PWD/_pkg install |
pankso@40 | 25 } |
pankso@40 | 26 |
pankso@40 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@40 | 28 genpkg_rules() |
pankso@40 | 29 { |
pankso@40 | 30 mkdir -p $fs/usr |
pankso@40 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@40 | 32 cp -a $_pkg/etc $fs |
pankso@116 | 33 chmod +x $fs/usr/bin/bf_* |
pankso@40 | 34 } |