wok diff pnm2ppa/receipt @ rev 22018

updated xcircuit (3.7.32 -> 3.10.12)
author Hans-G?nter Theisgen
date Sat Oct 19 17:56:32 2019 +0100 (2019-10-19)
parents 51a1ebbda768
children 080c1dff8494
line diff
     1.1 --- a/pnm2ppa/receipt	Fri Oct 18 19:43:55 2013 +0000
     1.2 +++ b/pnm2ppa/receipt	Sat Oct 19 17:56:32 2019 +0100
     1.3 @@ -1,37 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pnm2ppa"
     1.7 -VERSION="1.12" 
     1.8 +VERSION="1.13"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers"
    1.11 +SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers."
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://pnm2ppa.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://pnm2ppa.sourceforge.net/"
    1.18 -WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL"
    1.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="ghostscript cups foomatic-filters"
    1.22 +DEPENDS="cups foomatic-filters ghostscript"
    1.23  BUILD_DEPENDS="ghostscript-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	make BINDIR="/usr/bin" CONFDIR="/etc" &&
    1.30 -	make BINDIR=$DESTDIR/usr/bin  CONFDIR=$DESTDIR/etc install
    1.31 -	
    1.32 +	./configure			\
    1.33 +		--prefix=/usr		\
    1.34 +		--sysconfdir=/etc	\
    1.35 +		$CONFIGURE_ARGS &&
    1.36 +	make &&
    1.37 +	make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p  $fs/usr/share
    1.44 +	mkdir -p  $fs/usr
    1.45  	
    1.46 -	cp -a $install/etc   $fs
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 -	
    1.49 +	cp -a $install/etc	$fs
    1.50 +	cp -a $install/usr/bin	$fs/usr
    1.51 +
    1.52  	# Still needs ppd file download for the specific printer from 
    1.53  	# http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C
    1.54 -		
    1.55 +
    1.56  }
    1.57 -