wok-6.x annotate bogofilter/receipt @ rev 25274
updated recordmydesktop (0.3.8.1 -> 0.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 13:57:40 2022 +0100 (2022-07-18) |
parents | 319f735969b9 |
children |
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 |
pascal@24340 | 18 # What is the latest version available today? |
pascal@24340 | 19 current_version() |
pascal@24340 | 20 { |
pascal@24340 | 21 wget -O - https://sourceforge.net/projects/bogofilter/files/bogofilter-stable/ 2>/dev/null | \ |
pascal@24340 | 22 sed '/scope="row/!d;/tar/!d;s|.*bogofilter-||;s|.tar.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
pankso@40 | 25 # Rules to configure and make the package. |
pankso@40 | 26 compile_rules() |
pankso@40 | 27 { |
Hans-G?nter@22559 | 28 ./configure \ |
Hans-G?nter@22559 | 29 --with-database=sqlite3 \ |
Hans-G?nter@22559 | 30 --prefix=/usr \ |
Hans-G?nter@22559 | 31 --sysconfdir=/etc/bogofilter \ |
Hans-G?nter@22559 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@22559 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@22559 | 34 $CONFIGURE_ARGS && |
pascal@1491 | 35 make && |
pascal@15579 | 36 make DESTDIR=$DESTDIR install |
pankso@40 | 37 } |
pankso@40 | 38 |
pankso@40 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@40 | 40 genpkg_rules() |
pankso@40 | 41 { |
pankso@40 | 42 mkdir -p $fs/usr |
Hans-G?nter@22559 | 43 |
Hans-G?nter@22559 | 44 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22559 | 45 cp -a $install/etc $fs |
Hans-G?nter@22559 | 46 chmod +x $fs/usr/bin/bf_* |
pankso@40 | 47 } |