wok-current annotate cups-pdf/receipt @ rev 24052
Up slitaz-boot-scripts (469)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 26 19:58:37 2021 +0000 (2021-05-26) |
parents | e1a067a8ee4c |
children | 453c249b6219 |
rev | line source |
---|---|
jozee@2840 | 1 # SliTaz package receipt. |
jozee@2840 | 2 |
jozee@2840 | 3 PACKAGE="cups-pdf" |
Hans-G?nter@22621 | 4 VERSION="3.0.1" |
jozee@2840 | 5 CATEGORY="system-tools" |
Hans-G?nter@22621 | 6 TAGS="printer printing" |
Hans-G?nter@22621 | 7 SHORT_DESC="PDF printer for cups." |
jozee@2840 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
Hans-G?nter@22621 | 10 WEB_SITE="https://www.cups-pdf.de/" |
Hans-G?nter@22621 | 11 |
jozee@2840 | 12 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
Hans-G?nter@22621 | 13 WGET_URL="${WEB_SITE}src/${TARBALL}" |
jozee@2840 | 14 |
Hans-G?nter@22621 | 15 DEPENDS="cups ghostscript" |
Hans-G?nter@22621 | 16 BUILD_DEPENDS="cups-dev" |
pascal@15002 | 17 |
jozee@2840 | 18 # Rules to configure and make the package. |
jozee@2840 | 19 compile_rules() |
jozee@2840 | 20 { |
jozee@2840 | 21 cd $src/src |
Hans-G?nter@22622 | 22 gcc -Wall -o cups-pdf cups-pdf.c -lcups -lm |
jozee@2840 | 23 } |
jozee@2840 | 24 |
jozee@2840 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2840 | 26 genpkg_rules() |
jozee@2840 | 27 { |
Hans-G?nter@22621 | 28 mkdir -p $fs/etc/cups |
Hans-G?nter@22621 | 29 mkdir -p $fs/usr/lib/cups/backend |
Hans-G?nter@22621 | 30 mkdir -p $fs/usr/share/cups/model |
Hans-G?nter@22621 | 31 |
Hans-G?nter@22621 | 32 cp -a $src/src/cups-pdf $fs/usr/lib/cups/backend |
Hans-G?nter@22621 | 33 cp -a $src/extra/CUPS-PDF_*.ppd $fs/usr/share/cups/model |
Hans-G?nter@22621 | 34 cp -a $src/extra/cups-pdf.conf $fs/etc/cups |
Hans-G?nter@22621 | 35 } |