diff options
author | Ulrich Schaefer <us@ulischaefer.de> | 2022-05-07 03:42:23 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-07 13:59:35 +0700 |
commit | 8111dfedea97c9356368d3203cc1ed34a5592c58 (patch) | |
tree | ab7dc37afdad95ce65d4886d1b6f95ae15a82a37 /libraries/uthash/uthash.SlackBuild | |
parent | 0a0b4949cc84c95025b5425166a6f212b21c4350 (diff) |
libraries/uthash: Updated for version 2.3.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/uthash/uthash.SlackBuild')
-rw-r--r-- | libraries/uthash/uthash.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/uthash/uthash.SlackBuild b/libraries/uthash/uthash.SlackBuild index 1fd8534bc8..68307e543a 100644 --- a/libraries/uthash/uthash.SlackBuild +++ b/libraries/uthash/uthash.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for uthash -# Copyright 2015 Ulrich Schaefer Germany +# Copyright 2015-2022 Ulrich Schaefer, Hamburg, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,14 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=uthash -VERSION=${VERSION:-1.9.9} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +50,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" @@ -72,7 +72,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION -tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |