wok-current view cups-pdf/receipt @ rev 15944

Make lzma cross compile and fix libxml2
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 00:35:49 2014 +0100 (2014-02-23)
parents c7d1f2d1477f
children e1a067a8ee4c
line source
1 # SliTaz package receipt.
3 PACKAGE="cups-pdf"
4 VERSION="2.6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="PDF printer for cups"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
10 WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
11 WGET_URL="${WEB_SITE}/src/${TARBALL}"
12 TAGS="printer printing"
14 DEPENDS="ghostscript cups"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 gcc -Wall -o cups-pdf cups-pdf.c
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model
27 cp -a $src/src/cups-pdf $fs/usr/lib/cups/backend
28 cp -a $src/extra/CUPS-PDF.ppd $fs/usr/share/cups/model
29 cp -a $src/extra/cups-pdf.conf $fs/etc/cups
30 }