aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorKent Fritz <fritz.kent@gmail.com>2017-08-07 21:45:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:13 +0700
commitf7888110c72bbfeca0d1ff6366beb9a221db62ee (patch)
tree5ac32298051fa37f0c8480d93951e6d84d1d0df2 /libraries
parent68fee408beda6b32e435474cbcae7982998a982b (diff)
libraries/hiredis: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/hiredis/hiredis.SlackBuild6
-rw-r--r--libraries/hiredis/hiredis.info2
2 files changed, 4 insertions, 4 deletions
diff --git a/libraries/hiredis/hiredis.SlackBuild b/libraries/hiredis/hiredis.SlackBuild
index b8a412542c88..d122932035a1 100644
--- a/libraries/hiredis/hiredis.SlackBuild
+++ b/libraries/hiredis/hiredis.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=hiredis
VERSION=${VERSION:-0.13.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make OPTIMIZATION="" DEBUG="" CFLAGS="$SLKCFLAGS" \
+make OPTIMIZATION="" DEBUG="" ARCH="" CFLAGS="$SLKCFLAGS" \
PREFIX=/usr LIBRARY_PATH=lib${LIBDIRSUFFIX}
make install DESTDIR=$PKG PREFIX=/usr LIBRARY_PATH=lib${LIBDIRSUFFIX}
diff --git a/libraries/hiredis/hiredis.info b/libraries/hiredis/hiredis.info
index 6a91f5362873..291fbd9767ca 100644
--- a/libraries/hiredis/hiredis.info
+++ b/libraries/hiredis/hiredis.info
@@ -1,7 +1,7 @@
PRGNAM="hiredis"
VERSION="0.13.3"
HOMEPAGE="https://github.com/redis/hiredis"
-DOWNLOAD="https://github.com/redis/hiredis/archive/v0.13.3.tar.gz"
+DOWNLOAD="https://github.com/redis/hiredis/archive/v0.13.3/hiredis-0.13.3.tar.gz"
MD5SUM="43dca1445ec6d3b702821dba36000279"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""