wok-next diff sylfilter/receipt @ rev 20604

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 13:15:41 2018 +0300 (2018-04-19)
parents 2809ecb8c754
children d5aab818505e
line diff
     1.1 --- a/sylfilter/receipt	Sun Oct 29 09:27:29 2017 +0100
     1.2 +++ b/sylfilter/receipt	Thu Apr 19 13:15:41 2018 +0300
     1.3 @@ -1,33 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="sylfilter"
     1.8  VERSION="0.8"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="SylFilter is a light message filter library and command-line tools."
    1.11 +SHORT_DESC="SylFilter is a light message filter library and command-line tools"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="http://sylpheed.sraoss.jp/sylfilter/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://sylpheed.sraoss.jp/sylfilter/"
    1.18  WGET_URL="http://sylpheed.sraoss.jp/sylfilter/src/$TARBALL"
    1.19 -TAGS="mail email filter spam"
    1.20  
    1.21 -DEPENDS="sqlite3"
    1.22  BUILD_DEPENDS="sqlite3-dev gfortran glib-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	sed -i 's|config.rpath.*|& 2>/dev/null|' configure	# hide trigger
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		$CONFIGURE_ARGS &&
    1.31 -	make && make install
    1.32 +COOKOPTS="skip-log-errors"
    1.33 +
    1.34 +compile_rules() {
    1.35 +	./configure $CONFIGURE_ARGS &&
    1.36 +	fix libtool &&
    1.37 +	make &&
    1.38 +	make install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr/lib
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	DEPENDS="sqlite3"
    1.50 +	TAGS="mail email filter spam"
    1.51  }