diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2017-08-16 22:04:29 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-19 07:10:43 +0700 |
commit | 016e6dd7fccd774b166e577c9280c5c2d227b2be (patch) | |
tree | b8a0ed74a0d332f7c345bc8a5ef91fe1414b7fb1 /libraries/libgltf/libgltf.SlackBuild | |
parent | 776d134d473e6619fdddf7dcae0879147ea07573 (diff) |
libraries/libgltf: Updated for version 0.1.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libgltf/libgltf.SlackBuild')
-rw-r--r-- | libraries/libgltf/libgltf.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libraries/libgltf/libgltf.SlackBuild b/libraries/libgltf/libgltf.SlackBuild index 02d4b6ef1994f..e3359ce34532b 100644 --- a/libraries/libgltf/libgltf.SlackBuild +++ b/libraries/libgltf/libgltf.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libgltf -# Copyright 2015 Hunter Sezen California, USA +# Copyright 2015, 2017 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libgltf -VERSION=${VERSION:-0.0.2} +VERSION=${VERSION:-0.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,13 +54,13 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -74,6 +74,8 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --disable-static \ + --disable-werror \ --build=$ARCH-slackware-linux make |