aboutsummaryrefslogtreecommitdiff
path: root/package/memcached/memcached.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-07-17 18:20:13 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-18 21:40:09 +0200
commita274396df047102408998ed0f889251e0883e2c2 (patch)
tree4f3c585bdad797429fd9a5dcb0b1dcf2a639ea9e /package/memcached/memcached.mk
parent2d017035c4b52d04a9f0eb20e12b73219e8aa88b (diff)
downloadbuildroot-a274396df047102408998ed0f889251e0883e2c2.tar.gz
buildroot-a274396df047102408998ed0f889251e0883e2c2.tar.bz2
memcached: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/memcached/memcached.mk')
-rw-r--r--package/memcached/memcached.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/memcached/memcached.mk b/package/memcached/memcached.mk
new file mode 100644
index 0000000000..17edcb62cd
--- /dev/null
+++ b/package/memcached/memcached.mk
@@ -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))