diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2013-02-10 10:26:16 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-02-13 19:33:46 -0500 |
commit | d4355726d10c51c4670c0566d9cf37a780220de2 (patch) | |
tree | 60650b02964a3332eea0f06ec5111c8bd255b431 /system/redis/redis.SlackBuild | |
parent | 1035fa1d2296492712891ad4760879abb0c8fc8f (diff) |
system/redis: Updated for version 2.6.9.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/redis/redis.SlackBuild')
-rw-r--r-- | system/redis/redis.SlackBuild | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index bd4c9292d0785..9196350be687d 100644 --- a/system/redis/redis.SlackBuild +++ b/system/redis/redis.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for redis # Copyright 2010 Kuroi Kenshi <kuroi_kenshi96@yahoo.com> -# Copyright 2012 Audrius Kažukauskas <audrius@neutrino.lt> +# Copyright 2012-2013 Audrius Kažukauskas <audrius@neutrino.lt> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=redis -VERSION=${VERSION:-2.6.5} +VERSION=${VERSION:-2.6.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,12 +66,20 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Use our CFLAGS. +sed -i "s|-O3||" deps/Makefile deps/hiredis/Makefile + # No ./configure necessary. -CFLAGS="$SLKCFLAGS" make +# http://lists.slackbuilds.org/pipermail/slackbuilds-users/2013-January/010042.html +( unset ARCH ; CFLAGS="$SLKCFLAGS" make ) # Install binaries. mkdir -p $PKG/usr/bin -install -m 0755 src/redis-{server,cli,benchmark,check-{aof,dump}} $PKG/usr/bin +( cd src + install -m 0755 \ + redis-server redis-cli redis-benchmark redis-check-aof redis-check-dump \ + $PKG/usr/bin +) # Create symlink to start redis in sentinel mode. ( cd $PKG/usr/bin ; ln -sf redis-server redis-sentinel ) |