aboutsummaryrefslogtreecommitdiff
path: root/office/cups-pdf
diff options
context:
space:
mode:
Diffstat (limited to 'office/cups-pdf')
-rw-r--r--office/cups-pdf/cups-pdf.SlackBuild8
-rw-r--r--office/cups-pdf/cups-pdf.info8
-rw-r--r--office/cups-pdf/slack-desc2
3 files changed, 8 insertions, 10 deletions
diff --git a/office/cups-pdf/cups-pdf.SlackBuild b/office/cups-pdf/cups-pdf.SlackBuild
index 0262aaaf373a8..149a3e9487671 100644
--- a/office/cups-pdf/cups-pdf.SlackBuild
+++ b/office/cups-pdf/cups-pdf.SlackBuild
@@ -5,16 +5,14 @@
# Modified by SlackBuilds.org
PRGNAM=cups-pdf
-VERSION=2.5.0
+VERSION=${VERSION:-3.0beta1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -50,7 +48,7 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend
-gcc $SLCKFLAGS -s -o $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/cups-pdf src/cups-pdf.c
+gcc $SLCKFLAGS -s -lcups -o $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/cups-pdf src/cups-pdf.c
chmod 0700 $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/cups-pdf
@@ -58,7 +56,7 @@ mkdir -p $PKG/etc/cups
cat extra/cups-pdf.conf > $PKG/etc/cups/cups-pdf.conf.new
mkdir -p $PKG/usr/share/cups/model
-cp -a extra/CUPS-PDF.ppd $PKG/usr/share/cups/model
+cp -a extra/CUPS-PDF_opt.ppd $PKG/usr/share/cups/model/CUPS-PDF.ppd
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/office/cups-pdf/cups-pdf.info b/office/cups-pdf/cups-pdf.info
index 9f7d493b114d1..f4decf32d3eae 100644
--- a/office/cups-pdf/cups-pdf.info
+++ b/office/cups-pdf/cups-pdf.info
@@ -1,10 +1,10 @@
PRGNAM="cups-pdf"
-VERSION="2.5.0"
+VERSION="3.0beta1"
HOMEPAGE="http://www.cups-pdf.de/"
-DOWNLOAD="http://www.cups-pdf.de/src/cups-pdf_2.5.0.tar.gz"
-MD5SUM="9194af099a8c0e9aa213505b29ec6818"
+DOWNLOAD="http://www.cups-pdf.de/src/cups-pdf_3.0beta1.tar.gz"
+MD5SUM="b5079bc5d86729b0b31d93a77b4a896f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Sebastien Ballet"
-EMAIL="phenixi@aliceadsl.fr"
+EMAIL="slacker6896@gmail.com"
APPROVED="dsomero"
diff --git a/office/cups-pdf/slack-desc b/office/cups-pdf/slack-desc
index e03578ae7e48f..0d8c0d56b76b2 100644
--- a/office/cups-pdf/slack-desc
+++ b/office/cups-pdf/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
cups-pdf: cups-pdf (print to a PDF file)
cups-pdf:
-cups-pdf: This software is designed to produce PDF files by providing a PDF
+cups-pdf: This software is designed to produce PDF files by providing a PDF
cups-pdf: printer.
cups-pdf:
cups-pdf: Homepage: http://www.cups-pdf.de/