Commit 35c38668 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

libmemcached: new package



For varying reasons it doesn't play well with uClibc or musl based
toolchains so they're excluded for now.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent a274396d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -755,6 +755,7 @@ menu "Networking"
	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"
+16 −0
Original line number Diff line number Diff line
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
+17 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))