wok-next view cups-pdf/receipt @ rev 4258
vorbis-tools: fix build for libcurl 7.15.4+
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 11:47:17 2009 +0200 (2009-09-25) |
parents | |
children | f7e96b8e3444 |
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}"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/src
18 gcc -Wall -o cups-pdf cups-pdf.c
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model
25 _pkg=$src
26 cp -a $_pkg/src/cups-pdf $fs/usr/lib/cups/backend
27 cp -a $_pkg/extra/CUPS-PDF.ppd $fs/usr/share/cups/model
28 cp -a $_pkg/extra/cups-pdf.conf $fs/etc/cups
30 }