wok-next annotate cups-pdf/receipt @ rev 21031

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 15:42:26 2018 +0200 (2018-11-03)
parents 42d9d6d83956
children
rev   line source
al@20461 1 # SliTaz package receipt v2.
jozee@2840 2
jozee@2840 3 PACKAGE="cups-pdf"
al@20461 4 VERSION="2.6.1"
jozee@2840 5 CATEGORY="system-tools"
al@20461 6 SHORT_DESC="PDF printer for CUPS"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://pawn.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/"
al@20461 10
al@21020 11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
al@21020 12 WGET_URL="$WEB_SITE/src/$TARBALL"
jozee@2840 13
al@20461 14 compile_rules() {
al@20461 15 cd $src/src
al@20461 16 gcc -Wall -o cups-pdf cups-pdf.c || return 1
pascal@15002 17
al@20461 18 install -Dm755 $src/src/cups-pdf $install/usr/lib/cups/backend/cups-pdf
al@20461 19 install -Dm644 $src/extra/CUPS-PDF.ppd $install/usr/share/cups/model/CUPS-PDF.ppd
al@20461 20 install -Dm644 $src/extra/cups-pdf.conf $install/etc/cups/cups-pdf.conf
jozee@2840 21 }
jozee@2840 22
al@20461 23 genpkg_rules() {
al@20461 24 copy @std
al@20461 25 DEPENDS="ghostscript cups"
al@20461 26 TAGS="printer printing"
al@20461 27 }