wok diff gutenprint/receipt @ rev 23501

updated python-jinja2 (2.7 -> 2.11.1)
author Hans-G?nter Theisgen
date Mon Apr 06 07:57:27 2020 +0100 (2020-04-06)
parents 84ae0c3ef107
children ba7cbdb5749c
line diff
     1.1 --- a/gutenprint/receipt	Mon Feb 13 21:53:40 2017 +0100
     1.2 +++ b/gutenprint/receipt	Mon Apr 06 07:57:27 2020 +0100
     1.3 @@ -1,31 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gutenprint"
     1.7 -VERSION="5.2.8"
     1.8 +VERSION="5.3.3"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Top quality printer drivers for Canon, Epson"
    1.11 +SHORT_DESC="Top quality printer drivers for Canon, Epson."
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://gimp-print.sourceforge.net/"
    1.16 +WEB_SITE="https://sourceforge.net/projects/gimp-print/"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19  WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
    1.20  
    1.21 -DEPENDS="gnutls readline gtk+ cups libtasn1 gmp"
    1.22 -BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
    1.23 -foomatic-db-engine libtasn1-dev gmp-dev tar liblzma-dev"
    1.24 +DEPENDS="cups gmp gnutls gtk+ libtasn1 readline"
    1.25 +BUILD_DEPENDS="cups-dev expat-dev foomatic-db-engine gmp-dev 
    1.26 +	gnutls-dev libgcrypt-dev libtasn1-dev liblzma-dev zlib-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	./configure \
    1.33 -		--prefix=/usr \
    1.34 -		--sysconfdir=/etc \
    1.35 -		--localstatedir=/var \
    1.36 -		--mandir=/usr/share/man \
    1.37 -		--disable-samples \
    1.38 -		--with-cups \
    1.39 -		--disable-test \
    1.40 +	./configure			\
    1.41 +		--prefix=/usr		\
    1.42 +		--sysconfdir=/etc	\
    1.43 +		--localstatedir=/var	\
    1.44 +		--mandir=/usr/share/man	\
    1.45 +		--disable-samples	\
    1.46 +		--with-cups		\
    1.47 +		--disable-test		\
    1.48  		$CONFIGURE_ARGS &&
    1.49  	make &&
    1.50  	make install 2>&1 | grep -v "rmdir: '/home/slitaz/wok/gutenprint/"
    1.51 @@ -34,18 +34,19 @@
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
    1.56 -	
    1.57 -	cp -a $install/usr/bin $fs/usr
    1.58 -	cp -a $install/usr/sbin $fs/usr
    1.59 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.60 -	cp -a $install/usr/lib/cups $fs/usr/lib
    1.61 -	cp -a $install/usr/lib/gutenprint $fs/usr/lib
    1.62 -	cp -a $install/usr/share/cups $fs/usr/share
    1.63 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share	
    1.64 -	cp -a $install/etc   $fs
    1.65 -	
    1.66 -	# Remove docs
    1.67 -	rm -rf $fs/usr/share/$PACKAGE/doc
    1.68 +	mkdir -p $fs/etc
    1.69 +	mkdir -p $fs/usr/lib
    1.70 +	mkdir -p $fs/usr/share
    1.71 +
    1.72 +	cp -a $install/usr/bin			$fs/usr
    1.73 +	cp -a $install/usr/sbin			$fs/usr
    1.74 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.75 +	cp -a $install/usr/lib/cups		$fs/usr/lib
    1.76 +	cp -a $install/usr/lib/gutenprint	$fs/usr/lib
    1.77 +	cp -a $install/usr/share/cups		$fs/usr/share
    1.78 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share	
    1.79 +	cp -a $install/etc			$fs
    1.80 +
    1.81 +	# Remove documentation
    1.82 +	rm -rf					$fs/usr/share/$PACKAGE/doc
    1.83  }
    1.84 -