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

mingw32-gcc: fix CFLAGS, CXXFLAGS as it is not recent GCC and it don't understand something
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 13:59:48 2018 +0300 (2018-06-23)
parents 7896f0694ef6
children d5aab818505e
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"
jozee@2840 7 MAINTAINER="jozee@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@20461 9 WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
al@20461 10
jozee@2840 11 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
jozee@2840 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 }