libraries/hiredis: Updated for version 0.13.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Kent Fritz 2015-08-03 08:14:13 +07:00 committed by Willy Sudiarto Raharjo
parent fef9efb3e8
commit 7e420a86ce
3 changed files with 4 additions and 26 deletions

View file

@ -1,21 +0,0 @@
--- Makefile.orig 2015-04-03 15:07:16.975046819 -0700
+++ Makefile 2015-04-03 15:08:21.383052670 -0700
@@ -150,15 +150,15 @@ INSTALL?= cp -a
$(PKGCONFNAME): hiredis.h
@echo "Generating $@ for pkgconfig..."
@echo prefix=$(PREFIX) > $@
- @echo exec_prefix=$${prefix} >> $@
+ @echo exec_prefix=\$${prefix} >> $@
@echo libdir=$(INSTALL_LIBRARY_PATH) >> $@
@echo includedir=$(INSTALL_INCLUDE_PATH) >> $@
@echo >> $@
@echo Name: hiredis >> $@
@echo Description: Minimalistic C client library for Redis. >> $@
@echo Version: $(HIREDIS_MAJOR).$(HIREDIS_MINOR).$(HIREDIS_PATCH) >> $@
- @echo Libs: -L$${libdir} -lhiredis >> $@
- @echo Cflags: -I$${includedir} -D_FILE_OFFSET_BITS=64 >> $@
+ @echo Libs: -L\$${libdir} -lhiredis >> $@
+ @echo Cflags: -I\$${includedir} -D_FILE_OFFSET_BITS=64 >> $@
install: $(DYLIBNAME) $(STLIBNAME)
mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH)

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hiredis
VERSION=${VERSION:-0.12.1}
VERSION=${VERSION:-0.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -62,7 +62,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
patch < $CWD/Makefile.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -1,8 +1,8 @@
PRGNAM="hiredis"
VERSION="0.12.1"
VERSION="0.13.1"
HOMEPAGE="https://github.com/redis/hiredis"
DOWNLOAD="https://github.com/redis/hiredis/archive/v0.12.1.tar.gz"
MD5SUM="914e4aa8ab4a3f60d5739d2106e50502"
DOWNLOAD="https://github.com/redis/hiredis/archive/v0.13.1.tar.gz"
MD5SUM="4226dda52dbe08304e3b6027b4d6c74d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""