wok-next view cups-pdf/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents 7896f0694ef6
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cups-pdf"
4 VERSION="2.6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="PDF printer for CUPS"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
11 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
12 WGET_URL="${WEB_SITE}/src/${TARBALL}"
14 compile_rules() {
15 cd $src/src
16 gcc -Wall -o cups-pdf cups-pdf.c || return 1
18 install -Dm755 $src/src/cups-pdf $install/usr/lib/cups/backend/cups-pdf
19 install -Dm644 $src/extra/CUPS-PDF.ppd $install/usr/share/cups/model/CUPS-PDF.ppd
20 install -Dm644 $src/extra/cups-pdf.conf $install/etc/cups/cups-pdf.conf
21 }
23 genpkg_rules() {
24 copy @std
25 DEPENDS="ghostscript cups"
26 TAGS="printer printing"
27 }