2016-12-13 00:36:17 +01:00
|
|
|
# Description: An open source, advanced key-value store
|
|
|
|
# URL: http://redis.io
|
2016-05-14 20:56:28 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2016-12-13 00:36:17 +01:00
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
2014-05-09 22:16:08 +10:00
|
|
|
|
|
|
|
name=redis
|
2019-07-05 00:27:01 +02:00
|
|
|
version=5.0.5
|
2016-05-10 00:59:14 +02:00
|
|
|
release=1
|
2017-07-27 00:33:53 +02:00
|
|
|
source=(http://download.redis.io/releases/$name-$version.tar.gz redis.conf \
|
|
|
|
redis.rc)
|
2014-05-09 22:16:08 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version/src
|
|
|
|
|
|
|
|
make
|
|
|
|
make PREFIX=$PKG/usr/ install
|
2017-07-27 00:33:53 +02:00
|
|
|
|
2014-05-09 22:16:08 +10:00
|
|
|
install -D -m 755 $SRC/redis.rc $PKG/etc/rc.d/redis
|
2017-07-27 00:33:53 +02:00
|
|
|
install -D -m 644 -o redis $SRC/redis.conf $PKG/etc/redis.conf
|
|
|
|
install -d -m 755 -o redis $PKG/var/lib/redis
|
|
|
|
|
|
|
|
install -d -m 755 $PKG/var/log
|
|
|
|
install -m 640 -o redis -g redis /dev/null $PKG/var/log/redis.log
|
2014-05-09 22:16:08 +10:00
|
|
|
}
|