source "package/linux-zigbee/Config.in"
source "package/lrzsz/Config.in"
source "package/macchanger/Config.in"
+ source "package/memcached/Config.in"
source "package/mii-diag/Config.in"
source "package/minidlna/Config.in"
source "package/modem-manager/Config.in"
--- /dev/null
+config BR2_PACKAGE_MEMCACHED
+ bool "memcached"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_MMU # fork()
+ select BR2_PACKAGE_LIBEVENT
+ help
+ Memcached is an in-memory key-value store for small chunks
+ of arbitrary data (strings, objects) from results of database calls,
+ API calls, or page rendering.
+
+ http://www.memcached.org/
+
+comment "memcached needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_MMU
--- /dev/null
+################################################################################
+#
+# memcached
+#
+################################################################################
+
+MEMCACHED_VERSION = 1.4.20
+MEMCACHED_SITE = http://www.memcached.org/files
+MEMCACHED_DEPENDENCIES = libevent
+MEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+MEMCACHED_CONF_OPT = --disable-coverage --disable-docs
+MEMCACHED_LICENSE = BSD-3c
+MEMCACHED_LICENSE_FILES = COPYING
+
+ifeq ($(BR2_ENDIAN),"BIG")
+MEMCACHED_CONF_ENV += ac_cv_c_endian=big
+else
+MEMCACHED_CONF_ENV += ac_cv_c_endian=little
+endif
+
+$(eval $(autotools-package))