wok-6.x annotate cups-pdf/receipt @ rev 18796
Up make-slitaz-icons(160108): add stock icons needed by GTK+3 application Transmission
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 08 22:31:54 2016 +0200 (2016-01-08) |
parents | c7d1f2d1477f |
children | e1a067a8ee4c |
rev | line source |
---|---|
jozee@2840 | 1 # SliTaz package receipt. |
jozee@2840 | 2 |
jozee@2840 | 3 PACKAGE="cups-pdf" |
samuel_trassare@13491 | 4 VERSION="2.6.1" |
jozee@2840 | 5 CATEGORY="system-tools" |
jozee@2840 | 6 SHORT_DESC="PDF printer for cups" |
jozee@2840 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
jozee@2840 | 9 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
jozee@2840 | 10 WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf" |
jozee@2840 | 11 WGET_URL="${WEB_SITE}/src/${TARBALL}" |
jozee@4933 | 12 TAGS="printer printing" |
jozee@2840 | 13 |
pascal@15002 | 14 DEPENDS="ghostscript cups" |
pascal@15002 | 15 |
jozee@2840 | 16 # Rules to configure and make the package. |
jozee@2840 | 17 compile_rules() |
jozee@2840 | 18 { |
jozee@2840 | 19 cd $src/src |
jozee@2840 | 20 gcc -Wall -o cups-pdf cups-pdf.c |
jozee@2840 | 21 } |
jozee@2840 | 22 |
jozee@2840 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2840 | 24 genpkg_rules() |
jozee@2840 | 25 { |
jozee@2840 | 26 mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model |
slaxemulator@8751 | 27 cp -a $src/src/cups-pdf $fs/usr/lib/cups/backend |
slaxemulator@8751 | 28 cp -a $src/extra/CUPS-PDF.ppd $fs/usr/share/cups/model |
slaxemulator@8751 | 29 cp -a $src/extra/cups-pdf.conf $fs/etc/cups |
slaxemulator@10185 | 30 } |