mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
redis: stylize
* remove trailing whitespaces * run through oe-stylize Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
a74a34bd65
commit
15b4eabbfb
@@ -3,9 +3,9 @@ DESCRIPTION = "Redis is an open source, advanced key-value store."
|
|||||||
HOMEPAGE = "http://redis.io"
|
HOMEPAGE = "http://redis.io"
|
||||||
SECTION = "libs"
|
SECTION = "libs"
|
||||||
LICENSE = "BSD"
|
LICENSE = "BSD"
|
||||||
LIC_FILES_CHKSUM="file://COPYING;md5=3c01b49fed4df1a79843688fa3f7b9d6"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3c01b49fed4df1a79843688fa3f7b9d6"
|
||||||
|
|
||||||
DEPENDS = ""
|
DEPENDS = ""
|
||||||
|
|
||||||
SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
|
SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
|
||||||
file://hiredis-use-default-CC-if-it-is-set.patch \
|
file://hiredis-use-default-CC-if-it-is-set.patch \
|
||||||
file://lua-update-Makefile-to-use-environment-build-setting.patch \
|
file://lua-update-Makefile-to-use-environment-build-setting.patch \
|
||||||
@@ -13,26 +13,22 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
|
|||||||
file://redis.conf \
|
file://redis.conf \
|
||||||
file://init-redis-server \
|
file://init-redis-server \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit autotools-brokensep update-rc.d
|
|
||||||
|
|
||||||
INITSCRIPT_NAME = "redis-server"
|
|
||||||
INITSCRIPT_PARAMS = "defaults 87"
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "87be8867447f62524b584813e5a7bd14"
|
SRC_URI[md5sum] = "87be8867447f62524b584813e5a7bd14"
|
||||||
SRC_URI[sha256sum] = "93e422c0d584623601f89b956045be158889ebe594478a2c24e1bf218495633f"
|
SRC_URI[sha256sum] = "93e422c0d584623601f89b956045be158889ebe594478a2c24e1bf218495633f"
|
||||||
|
|
||||||
|
inherit autotools-brokensep update-rc.d
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
export PREFIX=${D}/${prefix}
|
export PREFIX=${D}/${prefix}
|
||||||
oe_runmake install
|
oe_runmake install
|
||||||
|
|
||||||
install -d ${D}/${sysconfdir}/redis
|
install -d ${D}/${sysconfdir}/redis
|
||||||
install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
|
install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
|
||||||
|
install -d ${D}/${sysconfdir}/init.d
|
||||||
install -d ${D}/${sysconfdir}/init.d
|
|
||||||
install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
|
install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
|
||||||
|
|
||||||
install -d ${D}/var/lib/redis/
|
install -d ${D}/var/lib/redis/
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/redis/redis.conf"
|
CONFFILES_${PN} = "${sysconfdir}/redis/redis.conf"
|
||||||
|
|
||||||
|
INITSCRIPT_NAME = "redis-server"
|
||||||
|
INITSCRIPT_PARAMS = "defaults 87"
|
||||||
|
|||||||
Reference in New Issue
Block a user