diff options
author | Sebastien Ballet <slacker6896@gmail.com> | 2012-06-25 21:39:04 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-25 21:39:04 -0400 |
commit | b6b4c16515e73e909716607cae385d9c1e724bf0 (patch) | |
tree | caffac5138643d2e27014cb9c1723ca0223517c6 /office/cups-pdf/cups-pdf.SlackBuild | |
parent | 59ffb439c9a0fea69a4bbc034b00d3962f34197e (diff) | |
download | slackbuilds-b6b4c16515e73e909716607cae385d9c1e724bf0.tar.gz |
office/cups-pdf: Updated for version 3.0beta1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/cups-pdf/cups-pdf.SlackBuild')
-rw-r--r-- | office/cups-pdf/cups-pdf.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/office/cups-pdf/cups-pdf.SlackBuild b/office/cups-pdf/cups-pdf.SlackBuild index 0262aaaf37..149a3e9487 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 |