wok-next diff 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 |
line diff
1.1 --- a/cups-pdf/receipt Sat Aug 10 21:12:16 2013 +0000 1.2 +++ b/cups-pdf/receipt Sat Jun 23 13:59:48 2018 +0300 1.3 @@ -1,30 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cups-pdf" 1.8 -VERSION="2.6.1" 1.9 +VERSION="2.6.1" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="PDF printer for cups" 1.12 +SHORT_DESC="PDF printer for CUPS" 1.13 MAINTAINER="jozee@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf" 1.16 + 1.17 TARBALL="${PACKAGE}_${VERSION}.tar.gz" 1.18 -WEB_SITE="http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf" 1.19 WGET_URL="${WEB_SITE}/src/${TARBALL}" 1.20 -TAGS="printer printing" 1.21 1.22 -DEPENDS="ghostscript cups" 1.23 +compile_rules() { 1.24 + cd $src/src 1.25 + gcc -Wall -o cups-pdf cups-pdf.c || return 1 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 - cd $src/src 1.31 - gcc -Wall -o cups-pdf cups-pdf.c 1.32 + install -Dm755 $src/src/cups-pdf $install/usr/lib/cups/backend/cups-pdf 1.33 + install -Dm644 $src/extra/CUPS-PDF.ppd $install/usr/share/cups/model/CUPS-PDF.ppd 1.34 + install -Dm644 $src/extra/cups-pdf.conf $install/etc/cups/cups-pdf.conf 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/etc/cups $fs/usr/lib/cups/backend $fs/usr/share/cups/model 1.41 - cp -a $src/src/cups-pdf $fs/usr/lib/cups/backend 1.42 - cp -a $src/extra/CUPS-PDF.ppd $fs/usr/share/cups/model 1.43 - cp -a $src/extra/cups-pdf.conf $fs/etc/cups 1.44 -} 1.45 \ No newline at end of file 1.46 +genpkg_rules() { 1.47 + copy @std 1.48 + DEPENDS="ghostscript cups" 1.49 + TAGS="printer printing" 1.50 +}