wok-next diff qpdf/receipt @ rev 20488

palemoon: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 11:00:54 2018 +0100 (2018-03-12)
parents f463de72afe3
children 9e5dca6702bf
line diff
     1.1 --- a/qpdf/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/qpdf/receipt	Mon Mar 12 11:00:54 2018 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="qpdf"
     1.8  VERSION="6.0.0"
     1.9 @@ -11,12 +11,10 @@
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 -DEPENDS="pcre zlib"
    1.14  BUILD_DEPENDS="zlib-dev pcre-dev"
    1.15 +SPLIT="qpdf-dev"
    1.16  
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 +compile_rules() {
    1.21  	./configure \
    1.22  		--disable-static \
    1.23  		--docdir=/usr/share/doc/qpdf-$VERSION \
    1.24 @@ -24,8 +22,14 @@
    1.25  	make && make install
    1.26  }
    1.27  
    1.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 -genpkg_rules()
    1.30 -{
    1.31 -	copy bin/ *.so*
    1.32 +genpkg_rules() {
    1.33 +	case $PACKAGE in
    1.34 +		qpdf)
    1.35 +			copy bin/ *.so*
    1.36 +			DEPENDS="pcre zlib"
    1.37 +			;;
    1.38 +		*-dev)
    1.39 +			copy *.h *.hh *.la *.pc
    1.40 +			;;
    1.41 +	esac
    1.42  }