source "package/libidn/Config.in"
source "package/libiscsi/Config.in"
source "package/libmbus/Config.in"
+ source "package/libmemcached/Config.in"
source "package/libmicrohttpd/Config.in"
source "package/libmnl/Config.in"
source "package/libmodbus/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIBMEMCACHED
+ bool "libmemcached"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_USES_GLIBC # posix spawn, va_list breakage
+ help
+ libMemcached is an open source C/C++ client library and tools
+ for the memcached server.
+ It has been designed to be light on memory usage, thread safe,
+ and provide full access to server side methods.
+
+ http://libmemcached.org/libMemcached.html
+
+comment "libmemcached needs a (e)glibc toolchain w/ C++, threads"
+ depends on !BR2_TOOLCHAIN_USES_GLIBC \
+ || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+################################################################################
+#
+# libmemcached
+#
+################################################################################
+
+LIBMEMCACHED_MAJOR_VERSION = 1.0
+LIBMEMCACHED_VERSION = $(LIBMEMCACHED_MAJOR_VERSION).18
+LIBMEMCACHED_SITE = http://launchpad.net/libmemcached/$(LIBMEMCACHED_MAJOR_VERSION)/$(LIBMEMCACHED_VERSION)/+download
+LIBMEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+LIBMEMCACHED_CONF_OPT = --disable-dtrace
+LIBMEMCACHED_INSTALL_STAGING = YES
+LIBMEMCACHED_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBEVENT),libevent)
+LIBMEMCACHED_LICENSE = BSD-3c
+LIBMEMCACHED_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))