From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- cups-pdf/.footprint.i686 | 12 ++++++++++++ cups-pdf/.footprint.x86_64 | 12 ++++++++++++ cups-pdf/.md5sum.i686 | 1 + cups-pdf/.md5sum.x86_64 | 1 + cups-pdf/Pkgfile | 32 ++++++++++++++++++++++++++++++++ cups-pdf/cups-pdf.install | 20 ++++++++++++++++++++ 6 files changed, 78 insertions(+) create mode 100644 cups-pdf/.footprint.i686 create mode 100644 cups-pdf/.footprint.x86_64 create mode 100644 cups-pdf/.md5sum.i686 create mode 100644 cups-pdf/.md5sum.x86_64 create mode 100755 cups-pdf/Pkgfile create mode 100644 cups-pdf/cups-pdf.install (limited to 'cups-pdf') diff --git a/cups-pdf/.footprint.i686 b/cups-pdf/.footprint.i686 new file mode 100644 index 000000000..7ecd5e224 --- /dev/null +++ b/cups-pdf/.footprint.i686 @@ -0,0 +1,12 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/cups/ +-rw-r--r-- root/root etc/cups/cups-pdf.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cups/ +drwxr-xr-x root/root usr/lib/cups/backend/ +-rwx------ root/root usr/lib/cups/backend/cups-pdf +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/cups/ +drwxr-xr-x root/root usr/share/cups/model/ +-rw-r--r-- root/root usr/share/cups/model/CUPS-PDF.ppd diff --git a/cups-pdf/.footprint.x86_64 b/cups-pdf/.footprint.x86_64 new file mode 100644 index 000000000..7ecd5e224 --- /dev/null +++ b/cups-pdf/.footprint.x86_64 @@ -0,0 +1,12 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/cups/ +-rw-r--r-- root/root etc/cups/cups-pdf.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cups/ +drwxr-xr-x root/root usr/lib/cups/backend/ +-rwx------ root/root usr/lib/cups/backend/cups-pdf +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/cups/ +drwxr-xr-x root/root usr/share/cups/model/ +-rw-r--r-- root/root usr/share/cups/model/CUPS-PDF.ppd diff --git a/cups-pdf/.md5sum.i686 b/cups-pdf/.md5sum.i686 new file mode 100644 index 000000000..37cf62475 --- /dev/null +++ b/cups-pdf/.md5sum.i686 @@ -0,0 +1 @@ +4b4cf1a249d02a38045db74b5f259aac cups-pdf_2.5.1.tar.gz diff --git a/cups-pdf/.md5sum.x86_64 b/cups-pdf/.md5sum.x86_64 new file mode 100644 index 000000000..37cf62475 --- /dev/null +++ b/cups-pdf/.md5sum.x86_64 @@ -0,0 +1 @@ +4b4cf1a249d02a38045db74b5f259aac cups-pdf_2.5.1.tar.gz 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 + +} + diff --git a/cups-pdf/cups-pdf.install b/cups-pdf/cups-pdf.install new file mode 100644 index 000000000..0ef82189a --- /dev/null +++ b/cups-pdf/cups-pdf.install @@ -0,0 +1,20 @@ +post_install() { + cat << "EOF" +------------------------------------------------- +To use cups-pdf, restart cups and visit the cups +web interface at http://localhost:631/ + +You can now add a "Virtual Printer (PDF Printer)" +and use the Postscript/Generic postscript color +printer driver. + +Note that cups-pdf has a configuration +file in /etc/cups. The default location for +pdf output is /var/spool/cups-pdf/$username. +------------------------------------------------- +EOF +} + +op=$1 +shift +$op $* -- cgit v1.2.3-54-g00ecf