wok diff foomatic-db/receipt @ rev 15690

dpkg,debootstrap: Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 08:14:41 2013 +0100 (2013-12-21)
parents fc4ef6edc657
children bfabe25c21ff
line diff
     1.1 --- a/foomatic-db/receipt	Sun Nov 14 17:12:53 2010 +0000
     1.2 +++ b/foomatic-db/receipt	Sat Dec 21 08:14:41 2013 +0100
     1.3 @@ -5,24 +5,25 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Database used by foomatic-db-engine to generate PPD files"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="ghostscript perl libxml2"
     1.8 -BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.linuxprinting.org/foomatic.html"
    1.12  WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
    1.13  TAGS="printer driver printing"
    1.14  
    1.15 +DEPENDS="ghostscript perl libxml2"
    1.16 +BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION
    1.22  	cd $src
    1.23  	./configure \
    1.24  		--prefix=/usr \
    1.25  		--sysconfdir=/etc \
    1.26  		$CONFIGURE_ARGS &&
    1.27  	make &&
    1.28 -	make DESTDIR=$PWD/_pkg install
    1.29 +	make DESTDIR=$DESTDIR install
    1.30  	
    1.31  }
    1.32  
    1.33 @@ -30,7 +31,7 @@
    1.34  genpkg_rules()
    1.35  {
    1.36  	mkdir -p $fs/usr	
    1.37 -	cp -a $_pkg/usr/share $fs/usr	
    1.38 +	cp -a $install/usr/share $fs/usr	
    1.39  	
    1.40  	# remove unzipped ppd files
    1.41  	find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;