libraries/hiredis: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Kent Fritz 2017-08-07 21:45:03 +07:00 committed by Willy Sudiarto Raharjo
parent 68fee408be
commit f7888110c7
2 changed files with 4 additions and 4 deletions

View File

@ -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}

View File

@ -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=""