wok-4.x annotate cups-pdf/receipt @ rev 7647

busybox/init: add rootuuid= support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 14 22:29:55 2010 +0100 (2010-12-14)
parents 47d966594881
children be13f25e790b
rev   line source
jozee@2840 1 # SliTaz package receipt.
jozee@2840 2
jozee@2840 3 PACKAGE="cups-pdf"
jozee@2840 4 VERSION="2.5.0"
jozee@2840 5 CATEGORY="system-tools"
jozee@2840 6 SHORT_DESC="PDF printer for cups"
jozee@2840 7 MAINTAINER="jozee@slitaz.org"
jozee@2840 8 DEPENDS="ghostscript cups"
jozee@2840 9 BUILD_DEPENDS=""
jozee@2840 10 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
jozee@2840 11 WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
jozee@2840 12 WGET_URL="${WEB_SITE}/src/${TARBALL}"
jozee@4933 13 TAGS="printer printing"
jozee@2840 14
jozee@2840 15 # Rules to configure and make the package.
jozee@2840 16 compile_rules()
jozee@2840 17 {
jozee@2840 18 cd $src/src
jozee@2840 19 gcc -Wall -o cups-pdf cups-pdf.c
jozee@2840 20 }
jozee@2840 21
jozee@2840 22 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2840 23 genpkg_rules()
jozee@2840 24 {
jozee@2840 25 mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model
jozee@2840 26 _pkg=$src
jozee@2840 27 cp -a $_pkg/src/cups-pdf $fs/usr/lib/cups/backend
jozee@2840 28 cp -a $_pkg/extra/CUPS-PDF.ppd $fs/usr/share/cups/model
jozee@2840 29 cp -a $_pkg/extra/cups-pdf.conf $fs/etc/cups
jozee@2840 30
jozee@2840 31 }
jozee@2840 32