summaryrefslogtreecommitdiffstats
path: root/cups-pdf/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
commit50e5ce5b17e69be13228e2393c5804b0a79acfab (patch)
tree9845fa9af128d7fdd791755bb2be320f3ba2be4e /cups-pdf/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8548e8d6882b55dfb509b18dedfb7db17630037d (diff)
downloadnutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'cups-pdf/Pkgfile')
-rwxr-xr-xcups-pdf/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/cups-pdf/Pkgfile b/cups-pdf/Pkgfile
new file mode 100755
index 000000000..252943e53
--- /dev/null
+++ b/cups-pdf/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Common UNIX Printing System, le système d'impression pour Linux
+# URL: http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: cups, ghostscript
+# Run on: cups,ghostscript
+
+name=cups-pdf
+version=2.5.1
+release=1
+
+install=cups-pdf.install
+
+source=(http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_$version.tar.gz)
+
+
+build() {
+ # Build and install
+ cd $name-$version/src
+ [ -z "$CC" ] && CC=gcc
+ $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
+ install -D -m700 cups-pdf $PKG/usr/lib/cups/backend/cups-pdf
+
+ # Install Postscript Color printer
+ cd ../extra
+ install -D -m644 CUPS-PDF.ppd $PKG/usr/share/cups/model/CUPS-PDF.ppd
+
+ # Install config file
+ install -D -m644 cups-pdf.conf $PKG/etc/cups/cups-pdf.conf
+
+}
+