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: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
a274396df0
commit
35c3866820
@ -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
package/libmemcached/Config.in
Normal file
16
package/libmemcached/Config.in
Normal file
@ -0,0 +1,16 @@
|
||||
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
package/libmemcached/libmemcached.mk
Normal file
17
package/libmemcached/libmemcached.mk
Normal file
@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
Loading…
Reference in New Issue
Block a user