wok view cups-pdf/receipt @ rev 7909

Added DESTDIR=PWD/_pkg to attr. Needed for it to make packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 12:03:10 2011 +0000 (2011-01-09)
parents 47d966594881
children be13f25e790b
line source
1 # SliTaz package receipt.
3 PACKAGE="cups-pdf"
4 VERSION="2.5.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="PDF printer for cups"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="ghostscript cups"
9 BUILD_DEPENDS=""
10 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
11 WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
12 WGET_URL="${WEB_SITE}/src/${TARBALL}"
13 TAGS="printer printing"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/src
19 gcc -Wall -o cups-pdf cups-pdf.c
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model
26 _pkg=$src
27 cp -a $_pkg/src/cups-pdf $fs/usr/lib/cups/backend
28 cp -a $_pkg/extra/CUPS-PDF.ppd $fs/usr/share/cups/model
29 cp -a $_pkg/extra/cups-pdf.conf $fs/etc/cups
31 }