aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dcraw/dcraw.SlackBuild14
-rw-r--r--graphics/dcraw/dcraw.info10
-rw-r--r--graphics/dcraw/slack-desc14
3 files changed, 22 insertions, 16 deletions
diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild
index 59110d8f96235..0d27ee00214c8 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 <rworkman@slackbuilds.org>
# 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}
diff --git a/graphics/dcraw/dcraw.info b/graphics/dcraw/dcraw.info
index 449390dde542d..cead78fe9a6ba 100644
--- a/graphics/dcraw/dcraw.info
+++ b/graphics/dcraw/dcraw.info
@@ -1,8 +1,10 @@
PRGNAM="dcraw"
-VERSION="8.93"
+VERSION="8.98"
HOMEPAGE="http://cybercom.net/~dcoffin/dcraw/"
-DOWNLOAD="http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.93.tar.gz"
-MD5SUM="1ca10ba4be66962f976163c294e58579"
+DOWNLOAD="http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.98.tar.gz"
+MD5SUM="eed6ad3f4763f2f7832f539dcd46f317"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="rworkman"
+APPROVED="pprkut" \ No newline at end of file
diff --git a/graphics/dcraw/slack-desc b/graphics/dcraw/slack-desc
index 7beb525b96711..dba3d3e4adc5c 100644
--- a/graphics/dcraw/slack-desc
+++ b/graphics/dcraw/slack-desc
@@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-------------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
dcraw: DCRaw (command line tool to decode raw digital photos)
-dcraw:
+dcraw:
dcraw: dcraw is a command line tool to decode raw digital photos
dcraw: written by Dave Coffin. It supports many raw photo formats
dcraw: for numerous digital camera manufacturers.
-dcraw:
+dcraw:
dcraw: Home Page: http://cybercom.net/~dcoffin/dcraw/
-dcraw:
-dcraw:
-dcraw:
-dcraw:
+dcraw:
+dcraw:
+dcraw:
+dcraw: