diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2012-03-30 00:15:24 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-03-30 00:15:24 -0400 |
commit | bbcc256eb99eba879ccb3bd1c466a456197277d5 (patch) | |
tree | d4e836496d5d1af146923c121a24f51b732aaffc /system/redis/redis.SlackBuild | |
parent | badb8681584763f45a8766eef16dbfc7626ad8ea (diff) | |
download | slackbuilds-bbcc256eb99eba879ccb3bd1c466a456197277d5.tar.gz |
system/redis: Updated for version 2.4.7 new maintainer.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/redis/redis.SlackBuild')
-rw-r--r-- | system/redis/redis.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index 1d180289fb..1464a0633f 100644 --- a/system/redis/redis.SlackBuild +++ b/system/redis/redis.SlackBuild @@ -1,19 +1,18 @@ #!/bin/sh -# Slackware build script for Redis -# Written by kuroi_kenshi <kuroi_kenshi96@yahoo.com> +# Slackware build script for redis +# Originally written by kuroi_kenshi <kuroi_kenshi96@yahoo.com> +# Maintained as of version 2.4.7 by Audrius Kažukauskas <audrius@neutrino.lt> PRGNAM=redis -VERSION=${VERSION:-1.02} +VERSION=${VERSION:-2.4.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -37,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -48,22 +47,23 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# No ./configure necessary +# No ./configure necessary. CFLAGS="$SLKCFLAGS" make -# move binaries to /usr/bin/ +# Install binaries. mkdir -p $PKG/usr/bin -install -m 0755 redis-server redis-cli redis-benchmark $PKG/usr/bin +install -m 0755 src/redis-{server,cli,benchmark,check-aof,check-dump} \ + $PKG/usr/bin find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Use sample config, without overwriting +# Use sample config, without overwriting. install -D -m 644 redis.conf $PKG/etc/redis.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - 00-RELEASENOTES BETATESTING.txt BUGS Changelog COPYING README TODO \ + 00-RELEASENOTES BUGS CONTRIBUTING COPYING README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |