Initial Commit
- initial default booting image
This commit is contained in:
14
package/libmemcached/Config.in
Normal file
14
package/libmemcached/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LIBMEMCACHED
|
||||
bool "libmemcached"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
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.
|
||||
|
||||
https://awesomized.github.io/libmemcached
|
||||
|
||||
comment "libmemcached needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
5
package/libmemcached/libmemcached.hash
Normal file
5
package/libmemcached/libmemcached.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 c477e1f6510e1dc698e84f3717ce690a8f65b94c616ecaa62306cce0f5e3116a libmemcached-1.1.4.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 65013ec8b416f28ae838ed3f23ea3ae47e5dbc70fe8492f39338e389a7970fd9 LICENSE
|
||||
42
package/libmemcached/libmemcached.mk
Normal file
42
package/libmemcached/libmemcached.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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
|
||||
|
||||
# Force Release otherwise libraries will be suffixed by -dbg which will raise
|
||||
# unexpected build failures with packages that use libmemcached (e.g. c-icap)
|
||||
LIBMEMCACHED_CONF_OPTS += \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
|
||||
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
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
LIBMEMCACHED_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user