summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Nishant Limbachia <nishant@mnspace.net>2010-05-13 00:27:44 +0200
committer Heinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:27:44 +0200
commitf15dc716a0ce67c2eae564140863de042480677c (patch)
tree87be6213654970fce42eb730ebdf267c8329c7a3 /graphics
parent77c071fe7cc5a941e57ed3098877805a9858c15f (diff)
downloadslackbuilds-f15dc716a0ce67c2eae564140863de042480677c.tar.gz
slackbuilds-f15dc716a0ce67c2eae564140863de042480677c.tar.xz
graphics/dcraw: Updated for version 8.98
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 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 <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 449390dde5..cead78fe9a 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 7beb525b96..dba3d3e4ad 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: