mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
0a0b4949cc
commit
8111dfedea
2 changed files with 10 additions and 10 deletions
|
@ -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 . \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="uthash"
|
||||
VERSION="1.9.9"
|
||||
VERSION="2.3.0"
|
||||
HOMEPAGE="https://troydhanson.github.io/uthash/"
|
||||
DOWNLOAD="https://github.com/troydhanson/uthash/archive/v1.9.9.tar.gz"
|
||||
MD5SUM="c3ce9197c818dcb7ca85b59912f310a4"
|
||||
DOWNLOAD="https://github.com/troydhanson/uthash/archive/v2.3.0/uthash-2.3.0.tar.gz"
|
||||
MD5SUM="9a4f0a675ca179b62ebc56b2dd8b59ee"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Ulrich Schaefer"
|
||||
EMAIL="us@ulischaefer.net"
|
||||
EMAIL="us@ulischaefer.de"
|
||||
|
|
Loading…
Reference in a new issue