wok view cups-pdf/receipt @ rev 23052
gnustep-base: fix libffi path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 17:04:10 2020 +0100 (2020-03-06) |
parents | e1a067a8ee4c |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cups-pdf"
4 VERSION="3.0.1"
5 CATEGORY="system-tools"
6 TAGS="printer printing"
7 SHORT_DESC="PDF printer for cups."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.cups-pdf.de/"
12 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
13 WGET_URL="${WEB_SITE}src/${TARBALL}"
15 DEPENDS="cups ghostscript"
16 BUILD_DEPENDS="cups-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/src
22 gcc -Wall -o cups-pdf cups-pdf.c -lcups -lm
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/etc/cups
29 mkdir -p $fs/usr/lib/cups/backend
30 mkdir -p $fs/usr/share/cups/model
32 cp -a $src/src/cups-pdf $fs/usr/lib/cups/backend
33 cp -a $src/extra/CUPS-PDF_*.ppd $fs/usr/share/cups/model
34 cp -a $src/extra/cups-pdf.conf $fs/etc/cups
35 }