wok-6.x annotate bogofilter/receipt @ rev 23748
updated xfi (1.40 -> 1.43.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 15:05:50 2020 +0100 (2020-05-01) |
parents | 7e2791244ffc |
children | 5f6c5106b1f5 |
rev | line source |
---|---|
pankso@40 | 1 # SliTaz package receipt. |
pankso@40 | 2 |
pankso@40 | 3 PACKAGE="bogofilter" |
Hans-G?nter@22559 | 4 VERSION="1.2.5" |
pankso@203 | 5 CATEGORY="network" |
Hans-G?nter@22559 | 6 TAGS="mail email filter spam C" |
pankso@40 | 7 SHORT_DESC="Mail filter that classifies mail as spam or ham." |
pankso@40 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 9 LICENSE="GPL2 GPL3" |
Hans-G?nter@22559 | 10 WEB_SITE="https://www.bogofilter.org/" |
Hans-G?nter@22559 | 11 |
Hans-G?nter@22559 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@40 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@40 | 14 |
Hans-G?nter@22559 | 15 DEPENDS="gsl sqlite" |
pascal@15579 | 16 BUILD_DEPENDS="sqlite-dev" |
pascal@15579 | 17 |
pankso@40 | 18 # Rules to configure and make the package. |
pankso@40 | 19 compile_rules() |
pankso@40 | 20 { |
Hans-G?nter@22559 | 21 ./configure \ |
Hans-G?nter@22559 | 22 --with-database=sqlite3 \ |
Hans-G?nter@22559 | 23 --prefix=/usr \ |
Hans-G?nter@22559 | 24 --sysconfdir=/etc/bogofilter \ |
Hans-G?nter@22559 | 25 --infodir=/usr/share/info \ |
Hans-G?nter@22559 | 26 --mandir=/usr/share/man \ |
Hans-G?nter@22559 | 27 $CONFIGURE_ARGS && |
pascal@1491 | 28 make && |
pascal@15579 | 29 make DESTDIR=$DESTDIR install |
pankso@40 | 30 } |
pankso@40 | 31 |
pankso@40 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@40 | 33 genpkg_rules() |
pankso@40 | 34 { |
pankso@40 | 35 mkdir -p $fs/usr |
Hans-G?nter@22559 | 36 |
Hans-G?nter@22559 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22559 | 38 cp -a $install/etc $fs |
Hans-G?nter@22559 | 39 chmod +x $fs/usr/bin/bf_* |
pankso@40 | 40 } |