diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /cups-pdf/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'cups-pdf/Pkgfile')
-rwxr-xr-x | cups-pdf/Pkgfile | 32 |
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 + +} + |