Initial Commit
- initial default booting image
This commit is contained in:
16
package/redis-plus-plus/Config.in
Normal file
16
package/redis-plus-plus/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_REDIS_PLUS_PLUS
|
||||
bool "redis-plus-plus"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_HIREDIS
|
||||
help
|
||||
Redis client written in C++
|
||||
|
||||
This is a C++ client library for Redis.
|
||||
It's based on hiredis, and is compatible
|
||||
with C++ 17, C++ 14, and C++ 11.
|
||||
|
||||
https://github.com/sewenew/redis-plus-plus
|
||||
|
||||
comment "redis-plus-plus needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/redis-plus-plus/redis-plus-plus.hash
Normal file
3
package/redis-plus-plus/redis-plus-plus.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated:
|
||||
sha256 e9288fda74f1501c62dd9ab7d6a8dc67de51aa4d5b7c71770baa51987a945941 redis-plus-plus-1.3.15.tar.gz
|
||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
||||
33
package/redis-plus-plus/redis-plus-plus.mk
Normal file
33
package/redis-plus-plus/redis-plus-plus.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# redis-plus-plus
|
||||
#
|
||||
################################################################################
|
||||
|
||||
REDIS_PLUS_PLUS_VERSION = 1.3.15
|
||||
REDIS_PLUS_PLUS_SITE = $(call github,sewenew,redis-plus-plus,$(REDIS_PLUS_PLUS_VERSION))
|
||||
REDIS_PLUS_PLUS_LICENSE = Apache-2.0
|
||||
REDIS_PLUS_PLUS_LICENSE_FILES = LICENSE
|
||||
REDIS_PLUS_PLUS_INSTALL_STAGING = YES
|
||||
REDIS_PLUS_PLUS_DEPENDENCIES = hiredis
|
||||
|
||||
define REDIS_PLUS_PLUS_NO_WERROR
|
||||
$(SED) 's/"-Werror"//' $(@D)/CMakeLists.txt
|
||||
endef
|
||||
REDIS_PLUS_PLUS_POST_PATCH_HOOKS += REDIS_PLUS_PLUS_NO_WERROR
|
||||
|
||||
REDIS_PLUS_PLUS_CONF_OPTS = \
|
||||
-DREDIS_PLUS_PLUS_BUILD_SHARED=$(if $(BR2_STATIC_LIBS),OFF,ON) \
|
||||
-DREDIS_PLUS_PLUS_BUILD_TEST=OFF
|
||||
|
||||
# since version 1.3.0, by default, redis-plus-plus is built with the
|
||||
# -std=c++17 standard
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),)
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),y)
|
||||
REDIS_PLUS_PLUS_CONF_OPTS += -DREDIS_PLUS_PLUS_CXX_STANDARD=14
|
||||
else
|
||||
REDIS_PLUS_PLUS_CONF_OPTS += -DREDIS_PLUS_PLUS_CXX_STANDARD=11
|
||||
endif
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user