wok-next diff pnm2ppa/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 51a1ebbda768
children d5aab818505e
line diff
     1.1 --- a/pnm2ppa/receipt	Fri Oct 18 19:43:55 2013 +0000
     1.2 +++ b/pnm2ppa/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,37 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pnm2ppa"
     1.8 -VERSION="1.12" 
     1.9 +VERSION="1.12"
    1.10  CATEGORY="system-tools"
    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  BUILD_DEPENDS="ghostscript-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 +compile_rules() {
    1.29  	make BINDIR="/usr/bin" CONFDIR="/etc" &&
    1.30  	make BINDIR=$DESTDIR/usr/bin  CONFDIR=$DESTDIR/etc install
    1.31 -	
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	mkdir -p  $fs/usr/share
    1.39 -	
    1.40 +
    1.41  	cp -a $install/etc   $fs
    1.42  	cp -a $install/usr/bin $fs/usr
    1.43 -	
    1.44 +
    1.45  	# Still needs ppd file download for the specific printer from 
    1.46  	# http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C
    1.47 -		
    1.48 +
    1.49 +	DEPENDS="ghostscript cups foomatic-filters"
    1.50  }
    1.51 -