wok-next annotate cups-pdf/receipt @ rev 10740
locale-*: we dont need compile rules any more since core pkgs are in slitaz-i18n bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 01:12:54 2011 +0200 (2011-05-30) |
parents | be13f25e790b |
children | c7d1f2d1477f |
rev | line source |
---|---|
jozee@2840 | 1 # SliTaz package receipt. |
jozee@2840 | 2 |
jozee@2840 | 3 PACKAGE="cups-pdf" |
slaxemulator@10185 | 4 VERSION="2.5.1" |
jozee@2840 | 5 CATEGORY="system-tools" |
jozee@2840 | 6 SHORT_DESC="PDF printer for cups" |
jozee@2840 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2840 | 8 DEPENDS="ghostscript cups" |
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 |
jozee@2840 | 14 # Rules to configure and make the package. |
jozee@2840 | 15 compile_rules() |
jozee@2840 | 16 { |
jozee@2840 | 17 cd $src/src |
jozee@2840 | 18 gcc -Wall -o cups-pdf cups-pdf.c |
jozee@2840 | 19 } |
jozee@2840 | 20 |
jozee@2840 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2840 | 22 genpkg_rules() |
jozee@2840 | 23 { |
jozee@2840 | 24 mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model |
slaxemulator@8751 | 25 cp -a $src/src/cups-pdf $fs/usr/lib/cups/backend |
slaxemulator@8751 | 26 cp -a $src/extra/CUPS-PDF.ppd $fs/usr/share/cups/model |
slaxemulator@8751 | 27 cp -a $src/extra/cups-pdf.conf $fs/etc/cups |
slaxemulator@10185 | 28 } |