diff options
-rw-r--r-- | graphics/rawstudio/README | 2 | ||||
-rw-r--r-- | graphics/rawstudio/rawstudio.SlackBuild | 19 |
2 files changed, 10 insertions, 11 deletions
diff --git a/graphics/rawstudio/README b/graphics/rawstudio/README index 1657940995a0..7b984c7e19d9 100644 --- a/graphics/rawstudio/README +++ b/graphics/rawstudio/README @@ -1,4 +1,4 @@ Rawstudio is an open-source program to read and manipulate RAW images from most digital cameras. -This requires GConf, available at SlackBuilds.org +This requires exiv2 and GConf (also available at SlackBuilds.org). diff --git a/graphics/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild index 2bea0000d046..f2154f372311 100644 --- a/graphics/rawstudio/rawstudio.SlackBuild +++ b/graphics/rawstudio/rawstudio.SlackBuild @@ -3,13 +3,13 @@ # Slackware Package Build Script for rawstudio # Home Page http://rawstudio.org/ -# Copyright (c) 2007-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net) +# Copyright (c) 2007-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) # All rights reserved. # -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -26,11 +26,11 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> # No additional license terms :-) - + PRGNAM=rawstudio VERSION=1.2 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -72,14 +72,13 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --build=$ARCH-slackware-linux - + make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +### strip binaries +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; |