From f7888110c72bbfeca0d1ff6366beb9a221db62ee Mon Sep 17 00:00:00 2001 From: Kent Fritz Date: Mon, 7 Aug 2017 21:45:03 +0700 Subject: libraries/hiredis: Update script. Signed-off-by: Willy Sudiarto Raharjo --- libraries/hiredis/hiredis.SlackBuild | 6 +++--- libraries/hiredis/hiredis.info | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libraries/hiredis') diff --git a/libraries/hiredis/hiredis.SlackBuild b/libraries/hiredis/hiredis.SlackBuild index b8a412542c..d122932035 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 6a91f53628..291fbd9767 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="" -- cgit v1.2.3