4cad06147c324985213434c0c728857069fd29ce
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / redis / redis.mk
1 ################################################################################
2 #
3 # redis
4 #
5 ################################################################################
6
7 REDIS_VERSION = 2.8.19
8 REDIS_SITE = http://download.redis.io/releases
9 REDIS_LICENSE = BSD-3c (core); MIT and BSD family licenses (Bundled components)
10 REDIS_LICENSE_FILES = COPYING
11
12 # Redis doesn't support DESTDIR (yet, see
13 # https://github.com/antirez/redis/pull/609).  We set PREFIX
14 # instead.
15 REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \
16         PREFIX=$(TARGET_DIR)/usr MALLOC=libc \
17
18 define REDIS_BUILD_CMDS
19         $(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D)
20 endef
21
22 define REDIS_INSTALL_TARGET_CMDS
23         $(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) \
24                 LDCONFIG=true install
25 endef
26
27 $(eval $(generic-package))