memcached.mk 988 B

123456789101112131415161718192021222324252627282930313233343536
  1. ################################################################################
  2. #
  3. # memcached
  4. #
  5. ################################################################################
  6. MEMCACHED_VERSION = 1.6.22
  7. MEMCACHED_SITE = http://www.memcached.org/files
  8. MEMCACHED_DEPENDENCIES = libevent
  9. MEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
  10. MEMCACHED_CONF_OPTS = --disable-coverage --disable-werror
  11. MEMCACHED_LICENSE = BSD-3-Clause
  12. MEMCACHED_LICENSE_FILES = COPYING
  13. MEMCACHED_CPE_ID_VENDOR = memcached
  14. MEMCACHED_SELINUX_MODULES = memcached
  15. # We're patching configure.ac
  16. MEMCACHED_AUTORECONF = YES
  17. ifeq ($(BR2_ENDIAN),"BIG")
  18. MEMCACHED_CONF_ENV += ac_cv_c_endian=big
  19. else
  20. MEMCACHED_CONF_ENV += ac_cv_c_endian=little
  21. endif
  22. ifeq ($(BR2_PACKAGE_OPENSSL),y)
  23. MEMCACHED_CONF_OPTS += --enable-tls
  24. MEMCACHED_DEPENDENCIES += host-pkgconf openssl
  25. else
  26. MEMCACHED_CONF_OPTS += --disable-tls
  27. endif
  28. ifeq ($(BR2_STATIC_LIBS),)
  29. MEMCACHED_CONF_OPTS += --disable-static
  30. endif
  31. $(eval $(autotools-package))