aboutsummaryrefslogtreecommitdiff
path: root/graphics/ufraw/ufraw.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-04-17 15:39:08 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-15 10:38:13 +0200
commit7e8a016108161260e0fae205461af7b90a045838 (patch)
treeec3e6fe4370dec7b4fc97866529954a0b63b099d /graphics/ufraw/ufraw.SlackBuild
parentbcffb6006330833cbe58ee168ac792df7cf3378c (diff)
graphics/ufraw: Updated for version 0.17.
Diffstat (limited to 'graphics/ufraw/ufraw.SlackBuild')
-rw-r--r--graphics/ufraw/ufraw.SlackBuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/graphics/ufraw/ufraw.SlackBuild b/graphics/ufraw/ufraw.SlackBuild
index 3cf6e80d6017a..d6f4732e1b9b5 100644
--- a/graphics/ufraw/ufraw.SlackBuild
+++ b/graphics/ufraw/ufraw.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for UFRaw (Unidentified Flying Raw)
# Home Page http://ufraw.sourceforge.net/
-# 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)
# Copyright (c) 2007, Robby Workman <rworkman@slackbuilds.org>
# All rights reserved.
#
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ufraw
-VERSION=0.16
+VERSION=0.17
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,12 +35,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "${LENSFUN:-no}" = "no" ]; then
- lensfun_option="--without-lensfun"
-else
- lensfun_option="--with-lensfun"
-fi
-
if [ "${GTK:-yes}" = "yes" ]; then
gtk_option="--with-gtk"
else
@@ -82,15 +76,16 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-mime \
--build=$ARCH-slackware-linux \
- $lensfun_option \
$gtk_option
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
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
)
# Compress man pages