aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2011-12-08 20:19:16 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-08 20:19:16 -0200
commitec4a857a65440ebc1936dc6295132d258d0f5210 (patch)
treebdb6db5f4fdb4a430dd0f84e0748de85e21cf452
parent473e6a3260ee0dcfb3383e58e69efd814d4b543b (diff)
libraries/libopenraw: Updated for version 0.0.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--libraries/libopenraw/libopenraw.SlackBuild15
-rw-r--r--libraries/libopenraw/libopenraw.info8
2 files changed, 10 insertions, 13 deletions
diff --git a/libraries/libopenraw/libopenraw.SlackBuild b/libraries/libopenraw/libopenraw.SlackBuild
index 7dfe11107af2a..e05360cdf266e 100644
--- a/libraries/libopenraw/libopenraw.SlackBuild
+++ b/libraries/libopenraw/libopenraw.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for libopenraw
-# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2007-2011 Michiel van Wessem, Leicester, United Kingdom
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -23,20 +23,15 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Exit on most errors
-set -e
-
PRGNAM=libopenraw
-VERSION=${VERSION:-0.0.8}
+VERSION=${VERSION:-0.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -60,11 +55,13 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -84,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make V=1
make install-strip DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/libraries/libopenraw/libopenraw.info b/libraries/libopenraw/libopenraw.info
index 5d294c3b57b47..41117f1896d43 100644
--- a/libraries/libopenraw/libopenraw.info
+++ b/libraries/libopenraw/libopenraw.info
@@ -1,10 +1,10 @@
PRGNAM="libopenraw"
-VERSION="0.0.8"
+VERSION="0.0.9"
HOMEPAGE="http://libopenraw.freedesktop.org/wiki"
-DOWNLOAD="http://libopenraw.freedesktop.org/download/libopenraw-0.0.8.tar.gz"
-MD5SUM="fc26f146586a4b601326130bce6ffd88"
+DOWNLOAD="http://libopenraw.freedesktop.org/download/libopenraw-0.0.9.tar.bz2"
+MD5SUM="3611d8aea870d25314665ef53093288e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
-APPROVED="dsomero"
+APPROVED="Niels Horn"