diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2011-12-08 20:19:16 -0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-08 20:19:16 -0200 |
commit | ec4a857a65440ebc1936dc6295132d258d0f5210 (patch) | |
tree | bdb6db5f4fdb4a430dd0f84e0748de85e21cf452 /libraries/libopenraw/libopenraw.SlackBuild | |
parent | 473e6a3260ee0dcfb3383e58e69efd814d4b543b (diff) | |
download | slackbuilds-ec4a857a65440ebc1936dc6295132d258d0f5210.tar.gz |
libraries/libopenraw: Updated for version 0.0.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/libopenraw/libopenraw.SlackBuild')
-rw-r--r-- | libraries/libopenraw/libopenraw.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libraries/libopenraw/libopenraw.SlackBuild b/libraries/libopenraw/libopenraw.SlackBuild index 7dfe11107a..e05360cdf2 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 \ |