diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-extended/redis/redis_2.6.9.bb | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis_2.6.9.bb')
-rw-r--r-- | meta-oe/recipes-extended/redis/redis_2.6.9.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis_2.6.9.bb b/meta-oe/recipes-extended/redis/redis_2.6.9.bb new file mode 100644 index 000000000..8f009757f --- /dev/null +++ b/meta-oe/recipes-extended/redis/redis_2.6.9.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "Redis key-value store" | ||
2 | DESCRIPTION = "Redis is an open source, advanced key-value store." | ||
3 | HOMEPAGE = "http://redis.io" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "BSD" | ||
6 | LIC_FILES_CHKSUM="file://COPYING;md5=673e0ac66aac758f8f2140c6fc7947d2" | ||
7 | |||
8 | SRC_URI = "http://redis.googlecode.com/files/redis-${PV}.tar.gz \ | ||
9 | file://hiredis-use-default-CC-if-it-is-set.patch \ | ||
10 | file://lua-update-Makefile-to-use-environment-build-setting.patch \ | ||
11 | file://oe-use-libc-malloc.patch \ | ||
12 | file://redis.conf \ | ||
13 | file://init-redis-server \ | ||
14 | " | ||
15 | |||
16 | inherit update-rc.d | ||
17 | |||
18 | INITSCRIPT_NAME = "redis-server" | ||
19 | INITSCRIPT_PARAMS = "defaults 87" | ||
20 | |||
21 | SRC_URI[md5sum] = "5093fb7c5f763e828c857daf260665bc" | ||
22 | SRC_URI[sha256sum] = "4d967eff2038aebea33875d17e85ed67179df6505df68529a622f7836d1c7489" | ||
23 | |||
24 | do_install() { | ||
25 | export PREFIX=${D}/${prefix} | ||
26 | oe_runmake install | ||
27 | |||
28 | install -d ${D}/${sysconfdir}/redis | ||
29 | install -m 0755 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf | ||
30 | |||
31 | install -d ${D}/${sysconfdir}/init.d | ||
32 | install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server | ||
33 | |||
34 | install -d ${D}/var/lib/redis/ | ||
35 | } | ||
36 | |||