wok-current diff cups-pdf/receipt @ rev 3505

Add: xorg-libXp and xorg-printproto, Xorg print modules
author Matthew Sheets <rcx@zoominternet.net>
date Fri Jun 19 12:31:10 2009 +0000 (2009-06-19)
parents
children f7e96b8e3444
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cups-pdf/receipt	Fri Jun 19 12:31:10 2009 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cups-pdf"
     1.7 +VERSION="2.5.0" 
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="PDF printer for cups"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="ghostscript cups"
    1.12 +BUILD_DEPENDS=""
    1.13 +TARBALL="${PACKAGE}_${VERSION}.tar.gz"
    1.14 +WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
    1.15 +WGET_URL="${WEB_SITE}/src/${TARBALL}"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src/src
    1.21 +	gcc -Wall -o cups-pdf cups-pdf.c	
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model
    1.28 +	_pkg=$src
    1.29 +	cp -a $_pkg/src/cups-pdf $fs/usr/lib/cups/backend 
    1.30 +	cp -a $_pkg/extra/CUPS-PDF.ppd $fs/usr/share/cups/model
    1.31 +	cp -a $_pkg/extra/cups-pdf.conf   $fs/etc/cups
    1.32 +	
    1.33 +}
    1.34 +