blob: ef5c92ae8877151bb98d02a941d7f0aef24acd88 (
plain)
1 # Description: An open source, advanced key-value store
2 # URL: http://redis.io
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Packager: James Mills, prologic at shortcircuit dot net dot au
5
6 name=redis
7 version=5.0.5
8 release=1
9 source=(http://download.redis.io/releases/$name-$version.tar.gz redis.conf \
10 redis.rc)
11
12 build() {
13 cd $name-$version/src
14
15 make
16 make PREFIX=$PKG/usr/ install
17
18 install -D -m 755 $SRC/redis.rc $PKG/etc/rc.d/redis
19 install -D -m 644 -o redis $SRC/redis.conf $PKG/etc/redis.conf
20 install -d -m 755 -o redis $PKG/var/lib/redis
21
22 install -d -m 755 $PKG/var/log
23 install -m 640 -o redis -g redis /dev/null $PKG/var/log/redis.log
24 }
|