memcached: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2014-07-17 18:20:13 -03:00 committed by Thomas Petazzoni
parent 2d017035c4
commit a274396df0
3 changed files with 37 additions and 0 deletions

View File

@ -982,6 +982,7 @@ endif
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"

View File

@ -0,0 +1,15 @@
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

View File

@ -0,0 +1,21 @@
################################################################################
#
# 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))