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:
parent
2d017035c4
commit
a274396df0
|
@ -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"
|
||||
|
|
15
package/memcached/Config.in
Normal file
15
package/memcached/Config.in
Normal 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
|
21
package/memcached/memcached.mk
Normal file
21
package/memcached/memcached.mk
Normal 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))
|
Loading…
Reference in a new issue