Browse Source

office/cups-pdf: Updated for version 3.0.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
pull/47/head
Sebastien Ballet 9 years ago
committed by David Spencer
parent
commit
f252293b73
  1. 5
      office/cups-pdf/README
  2. 31
      office/cups-pdf/cups-pdf.SlackBuild
  3. 6
      office/cups-pdf/cups-pdf.info
  4. 1
      office/cups-pdf/doinst.sh
  5. 2
      office/cups-pdf/slack-desc

5
office/cups-pdf/README

@ -1 +1,6 @@
cups-pdf is designed to produce PDF files by providing a PDF printer.
Note:
----
By default, cups-pdf output files are stored in /var/spool/cups-pdf/$USER
directory. This can be (re)configured in /etc/cups-pdf.conf (Key: Out).

31
office/cups-pdf/cups-pdf.SlackBuild

@ -1,17 +1,35 @@
#!/bin/sh
# Slackware build script for cups-pdf
# Written by Sebastien Ballet (phenixi@aliceadsl.fr)
# Modified by SlackBuilds.org
# Copyright 2010-2017 S. Ballet, France
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cups-pdf
VERSION=${VERSION:-3.0beta1}
VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -24,8 +42,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -61,6 +79,7 @@ cat extra/cups-pdf.conf > $PKG/etc/cups/cups-pdf.conf.new
mkdir -p $PKG/usr/share/cups/model
cp -a extra/CUPS-PDF_opt.ppd $PKG/usr/share/cups/model/CUPS-PDF.ppd
cp -a extra/CUPS-PDF_noopt.ppd $PKG/usr/share/cups/model/CUPS-PDF_noopt.ppd
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION

6
office/cups-pdf/cups-pdf.info

@ -1,8 +1,8 @@
PRGNAM="cups-pdf"
VERSION="3.0beta1"
VERSION="3.0.1"
HOMEPAGE="http://www.cups-pdf.de/"
DOWNLOAD="http://www.cups-pdf.de/src/cups-pdf_3.0beta1.tar.gz"
MD5SUM="b5079bc5d86729b0b31d93a77b4a896f"
DOWNLOAD="http://www.cups-pdf.de/src/cups-pdf_3.0.1.tar.gz"
MD5SUM="5071bf192b9c6eb5ada4337b6917b939"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

1
office/cups-pdf/doinst.sh

@ -11,4 +11,3 @@ config() {
}
config etc/cups/cups-pdf.conf.new

2
office/cups-pdf/slack-desc

@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
cups-pdf: cups-pdf (print to a PDF file)
cups-pdf: cups-pdf (PDF printer for cups)
cups-pdf:
cups-pdf: This software is designed to produce PDF files by providing a PDF
cups-pdf: printer.

Loading…
Cancel
Save