2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-11 16:47:11 +01:00
|
|
|
#
|
|
|
|
# redis
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-11 16:47:11 +01:00
|
|
|
|
2015-01-21 13:21:42 +01:00
|
|
|
REDIS_VERSION = 2.8.19
|
2013-10-09 10:47:05 +02:00
|
|
|
REDIS_SITE = http://download.redis.io/releases
|
2013-03-11 16:47:11 +01:00
|
|
|
REDIS_LICENSE = BSD-3c (core); MIT and BSD family licenses (Bundled components)
|
|
|
|
REDIS_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
# Redis doesn't support DESTDIR (yet, see
|
|
|
|
# https://github.com/antirez/redis/pull/609). We set PREFIX
|
|
|
|
# instead.
|
|
|
|
REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \
|
2014-10-25 08:20:44 +02:00
|
|
|
PREFIX=$(TARGET_DIR)/usr MALLOC=libc \
|
2013-03-11 16:47:11 +01:00
|
|
|
|
|
|
|
define REDIS_BUILD_CMDS
|
2014-10-25 20:29:31 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D)
|
2013-03-11 16:47:11 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define REDIS_INSTALL_TARGET_CMDS
|
2014-10-25 20:29:31 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) \
|
|
|
|
LDCONFIG=true install
|
2013-03-11 16:47:11 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|