wok-next diff bogofilter/receipt @ rev 20855

svgcleaner: up (0.9.5); add oxipng
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 15:41:27 2018 +0300 (2018-06-26)
parents 2809ecb8c754
children d5aab818505e
line diff
     1.1 --- a/bogofilter/receipt	Sun Oct 29 09:27:29 2017 +0100
     1.2 +++ b/bogofilter/receipt	Tue Jun 26 15:41:27 2018 +0300
     1.3 @@ -1,36 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="bogofilter"
     1.8  VERSION="1.2.4"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Mail filter that classifies mail as spam or ham."
    1.11 +SHORT_DESC="Mail filter that classifies mail as spam or ham"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2 GPL3"
    1.14 +WEB_SITE="http://bogofilter.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://bogofilter.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="mail email filter spam C"
    1.20  
    1.21 -DEPENDS="sqlite3 gsl"
    1.22  BUILD_DEPENDS="sqlite3-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	./configure --with-database=sqlite3 \
    1.29 -		--prefix=/usr --sysconfdir=/etc/bogofilter \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.32 +compile_rules() {
    1.33 +	./configure \
    1.34 +		--with-database=sqlite3 \
    1.35 +		--sysconfdir=/etc/bogofilter \
    1.36 +		$CONFIGURE_ARGS &&
    1.37  	make &&
    1.38 -	make DESTDIR=$DESTDIR install
    1.39 +	make DESTDIR=$DESTDIR install || return 1
    1.40 +
    1.41 +	chmod +x $install/usr/bin/bf_*
    1.42  }
    1.43  
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 -	mkdir -p $fs/usr
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/etc $fs
    1.50 -	chmod +x $fs/usr/bin/bf_*
    1.51 +genpkg_rules() {
    1.52 +	copy @std
    1.53 +	DEPENDS="sqlite3 gsl"
    1.54 +	TAGS="mail email filter spam C"
    1.55  }