redis.mk 792 B

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