2016-12-13 00:36:17 +01:00
|
|
|
# Description: An open source, advanced key-value store
|
2021-02-01 10:42:29 +00:00
|
|
|
# URL: https://redis.io
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2014-05-09 22:16:08 +10:00
|
|
|
|
|
|
|
name=redis
|
2021-10-04 23:28:26 +02:00
|
|
|
version=6.2.6
|
2016-05-10 00:59:14 +02:00
|
|
|
release=1
|
2021-02-01 10:42:29 +00:00
|
|
|
source=(https://download.redis.io/releases/$name-$version.tar.gz redis.conf
|
|
|
|
redis.rc)
|
2014-05-09 22:16:08 +10:00
|
|
|
|
|
|
|
build() {
|
2021-01-14 11:04:14 +00:00
|
|
|
cd $name-$version/src
|
2014-05-09 22:16:08 +10:00
|
|
|
|
2021-01-14 11:04:14 +00:00
|
|
|
make
|
|
|
|
make PREFIX=$PKG/usr/ install
|
2017-07-27 00:33:53 +02:00
|
|
|
|
2021-01-14 11:04:14 +00:00
|
|
|
install -D -m 755 $SRC/redis.rc $PKG/etc/rc.d/redis
|
|
|
|
install -D -m 644 -o redis $SRC/redis.conf $PKG/etc/redis.conf
|
|
|
|
install -d -m 755 -o redis $PKG/var/lib/redis
|
2017-07-27 00:33:53 +02:00
|
|
|
|
2021-01-14 11:04:14 +00:00
|
|
|
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
|
|
|
}
|