wok rev 22621

updated cups-pdf (2.6.1 -> 3.0.1)
author Hans-G?nter Theisgen
date Sun Jan 12 15:27:42 2020 +0100 (18 months ago)
parents 091670bbc959
children 16a1074d5933
files cups-pdf/receipt
line diff
     1.1 --- a/cups-pdf/receipt	Sun Jan 12 14:31:51 2020 +0100
     1.2 +++ b/cups-pdf/receipt	Sun Jan 12 15:27:42 2020 +0100
     1.3 @@ -1,30 +1,35 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cups-pdf"
     1.7 -VERSION="2.6.1" 
     1.8 +VERSION="3.0.1" 
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="PDF printer for cups"
    1.11 +TAGS="printer printing"
    1.12 +SHORT_DESC="PDF printer for cups."
    1.13  MAINTAINER="jozee@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://www.cups-pdf.de/"
    1.16 +
    1.17  TARBALL="${PACKAGE}_${VERSION}.tar.gz"
    1.18 -WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
    1.19 -WGET_URL="${WEB_SITE}/src/${TARBALL}"
    1.20 -TAGS="printer printing"
    1.21 +WGET_URL="${WEB_SITE}src/${TARBALL}"
    1.22  
    1.23 -DEPENDS="ghostscript cups"
    1.24 +DEPENDS="cups ghostscript"
    1.25 +BUILD_DEPENDS="cups-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30  	cd $src/src
    1.31 -	gcc -Wall -o cups-pdf cups-pdf.c	
    1.32 +	gcc -Wall -o cups-pdf cups-pdf.c -lcups
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model
    1.39 -	cp -a $src/src/cups-pdf $fs/usr/lib/cups/backend 
    1.40 -	cp -a $src/extra/CUPS-PDF.ppd $fs/usr/share/cups/model
    1.41 -	cp -a $src/extra/cups-pdf.conf   $fs/etc/cups
    1.42 -}
    1.43 \ No newline at end of file
    1.44 +	mkdir -p $fs/etc/cups
    1.45 +	mkdir -p $fs/usr/lib/cups/backend
    1.46 +	mkdir -p $fs/usr/share/cups/model
    1.47 +
    1.48 +	cp -a $src/src/cups-pdf		$fs/usr/lib/cups/backend 
    1.49 +	cp -a $src/extra/CUPS-PDF_*.ppd	$fs/usr/share/cups/model
    1.50 +	cp -a $src/extra/cups-pdf.conf	$fs/etc/cups
    1.51 +}