wok diff pnm2ppa/receipt @ rev 19298

rev: AstroMenace (again)
author Leonardo Laporte <hackdorte@sapo.pt>
date Sat Jul 09 07:32:04 2016 -0300 (2016-07-09)
parents b1c8a17cf2ac
children 33835fef1486
line diff
     1.1 --- a/pnm2ppa/receipt	Sun Apr 26 16:04:40 2009 +0000
     1.2 +++ b/pnm2ppa/receipt	Sat Jul 09 07:32:04 2016 -0300
     1.3 @@ -5,18 +5,20 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="ghostscript cups foomatic-filters"
     1.8 -BUILD_DEPENDS="ghostscript-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://pnm2ppa.sourceforge.net/"
    1.12  WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL"
    1.13 -#http://downloads.sourceforge.net/pnm2ppa/pnm2ppa-1.12.tar.gz
    1.14 +
    1.15 +DEPENDS="ghostscript cups foomatic-filters"
    1.16 +BUILD_DEPENDS="ghostscript-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22  	make BINDIR="/usr/bin" CONFDIR="/etc" &&
    1.23 -	make BINDIR=$PWD/_pkg/usr/bin  CONFDIR=$PWD/_pkg/etc install
    1.24 +	make BINDIR=$DESTDIR/usr/bin  CONFDIR=$DESTDIR/etc install
    1.25  	
    1.26  }
    1.27  
    1.28 @@ -25,8 +27,8 @@
    1.29  {
    1.30  	mkdir -p  $fs/usr/share
    1.31  	
    1.32 -	cp -a $_pkg/etc   $fs
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $install/etc   $fs
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36  	
    1.37  	# Still needs ppd file download for the specific printer from 
    1.38  	# http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C