7205df8a4f
- Switch to an active fork - Switch to cmake-package - Drop all patches (not needed anymore) - Use LICENSE file instead of COPYING as COPYING is now a symlink to LICENSE - Handle libevent and openssl dependencies https://awesomized.github.io/libmemcached/ChangeLog-1.1.html#v-1-1-4 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
928 B
Makefile
32 lines
928 B
Makefile
################################################################################
|
|
#
|
|
# libmemcached
|
|
#
|
|
################################################################################
|
|
|
|
LIBMEMCACHED_VERSION = 1.1.4
|
|
LIBMEMCACHED_SITE = \
|
|
$(call github,awesomized,libmemcached,$(LIBMEMCACHED_VERSION))
|
|
LIBMEMCACHED_CONF_OPTS = -DENABLE_DTRACE=OFF
|
|
LIBMEMCACHED_INSTALL_STAGING = YES
|
|
LIBMEMCACHED_DEPENDENCIES = host-bison host-flex
|
|
LIBMEMCACHED_LICENSE = BSD-3-Clause
|
|
LIBMEMCACHED_LICENSE_FILES = LICENSE
|
|
LIBMEMCACHED_CPE_ID_VENDOR = awesome
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBEVENT),y)
|
|
LIBMEMCACHED_DEPENDENCIES += libevent
|
|
LIBMEMCACHED_CONF_OPTS += -DENABLE_MEMASLAP=ON
|
|
else
|
|
LIBMEMCACHED_CONF_OPTS += -DENABLE_MEMASLAP=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBMEMCACHED_DEPENDENCIES += openssl
|
|
LIBMEMCACHED_CONF_OPTS += -DENABLE_OPENSSL_CRYPTO=ON
|
|
else
|
|
LIBMEMCACHED_CONF_OPTS += -DENABLE_OPENSSL_CRYPTO=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|