wok diff foomatic-db-nonfree/receipt @ rev 15368

Up ipxe (1.0.0-20130925)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 14 13:38:36 2013 +0000 (2013-10-14)
parents fb920af78bef
children 3b4e4318134e
line diff
     1.1 --- a/foomatic-db-nonfree/receipt	Sun Nov 14 17:13:48 2010 +0000
     1.2 +++ b/foomatic-db-nonfree/receipt	Mon Oct 14 13:38:36 2013 +0000
     1.3 @@ -5,24 +5,24 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="database engine generates PPD files from the data in Foomatic's XML database"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="perl libxml2 foomatic-db"
     1.8 -BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.linuxprinting.org/foomatic.html"
    1.11  WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
    1.12  TAGS="printer driver printing"
    1.13  
    1.14 +DEPENDS="perl libxml2 foomatic-db"
    1.15 +BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -	mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION
    1.21  	cd $src
    1.22  	./configure \
    1.23  		--prefix=/usr \
    1.24  		--sysconfdir=/etc \
    1.25  		$CONFIGURE_ARGS &&
    1.26  	make &&
    1.27 -	make DESTDIR=$PWD/_pkg  install
    1.28 +	make DESTDIR=$DESTDIR  install
    1.29  	
    1.30  }
    1.31  
    1.32 @@ -30,7 +30,7 @@
    1.33  genpkg_rules()
    1.34  {
    1.35  	mkdir -p $fs/usr/share/licenses/$PACKAGE/
    1.36 -	cp -a $_pkg/usr/share/foomatic $fs/usr/share
    1.37 +	cp -a $install/usr/share/foomatic $fs/usr/share
    1.38  	
    1.39  	# gzip all ppd files
    1.40  	find $fs/usr/share/foomatic/db/source -name "*.ppd" | xargs gzip -n9