diff options
author | Kent Fritz <fritz.kent@gmail.com> | 2017-08-07 21:45:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:58:13 +0700 |
commit | f7888110c72bbfeca0d1ff6366beb9a221db62ee (patch) | |
tree | 5ac32298051fa37f0c8480d93951e6d84d1d0df2 /libraries/hiredis/hiredis.SlackBuild | |
parent | 68fee408beda6b32e435474cbcae7982998a982b (diff) | |
download | slackbuilds-f7888110c72bbfeca0d1ff6366beb9a221db62ee.tar.gz |
libraries/hiredis: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/hiredis/hiredis.SlackBuild')
-rw-r--r-- | libraries/hiredis/hiredis.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
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} |