redis: update to 3.0.0.

This commit is contained in:
Juan RP 2015-04-01 22:19:39 +02:00
parent 3732382fc4
commit 7087f3afdc
1 changed files with 3 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'redis'
pkgname=redis
version=2.8.19
version=3.0.0
revision=1
makedepends="jemalloc-devel"
homepage="http://redis.io"
@ -8,7 +8,8 @@ distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
short_desc="advanced key-value store"
maintainer="Enno Boland <eb@s01.de>"
license="BSD"
checksum=29bb08abfc3d392b2f0c3e7f48ec46dd09ab1023f9a5575fc2a93546f4ca5145
checksum=654c95c6236692dcb916fccba9a34d0877cc91338c8b6a372511e6eb080e34bf
system_accounts="redis"
redis_homedir="/var/lib/redis"
conf_files="/etc/redis/redis.conf"
@ -16,9 +17,6 @@ make_dirs="
/var/lib/redis 0700 redis redis
/run/redis 0750 redis redis"
build_options="systemd"
if [ "$build_option_systemd" ]; then
systemd_services="redis.service on"
fi
do_configure() {
sed -i \
@ -26,11 +24,9 @@ do_configure() {
-e "s|^dir .*|dir ${redis_homedir}|" \
-e "s|^pidfile .*|pidfile /run/redis/redis.pid|" redis.conf
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
make INSTALL_BIN="${DESTDIR}/usr/bin" PREFIX=/usr install
vlicense COPYING