From f15dc716a0ce67c2eae564140863de042480677c Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Thu, 13 May 2010 00:27:44 +0200 Subject: graphics/dcraw: Updated for version 8.98 --- graphics/dcraw/dcraw.SlackBuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'graphics/dcraw/dcraw.SlackBuild') diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild index 59110d8f96..0d27ee0021 100644 --- a/graphics/dcraw/dcraw.SlackBuild +++ b/graphics/dcraw/dcraw.SlackBuild @@ -1,9 +1,10 @@ #!/bin/sh # Slackware Package Build Script for dcraw + # Home Page http://cybercom.net/~dcoffin/dcraw -# Copyright (c) 2007, Nishant Limbachia (nishant@mnspace.net) +# Copyright (c) 2008-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net) # Copyright (c) 2007, Robby Workman # All rights reserved. # @@ -31,11 +32,11 @@ ### ./dcraw.SlackBuild rawphoto PRGNAM=dcraw -VERSION=8.93 +VERSION=8.98 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -43,10 +44,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi ### DCRaw build flags as suggested on the author's page. @@ -98,7 +102,7 @@ find $PKG -depth -empty -type d -exec rmdir '{}' \; if [ "$1" == "rawphoto" ]; then if [ -x /usr/bin/gimptool-2.0 ]; then /usr/bin/gimptool-2.0 --build $CWD/rawphoto.c - install -D -m 0755 rawphoto $PKG/usr/lib/gimp/2.0/plug-ins/rawphoto + install -D -m 0755 rawphoto $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/rawphoto else echo "Unable to build the rawphoto gimp plugin - is gimp installed?" sleep 5 @@ -109,4 +113,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3