package/redis-plus-plus: new package
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 Signed-off-by: Prabhu Sannachi <prabhu.sannachi@collins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d5ff6b9673
commit
c46df9de21
@ -2420,6 +2420,9 @@ F: package/libdvbpsi/
|
||||
F: package/mraa/
|
||||
F: package/synergy/
|
||||
|
||||
N: Prabhu Sannachi <prabhu.sannachi@collins.com>
|
||||
F: package/redis-plus-plus/
|
||||
|
||||
N: Rafal Susz <rafal.susz@gmail.com>
|
||||
F: board/avnet/s6lx9_microboard/
|
||||
F: configs/s6lx9_microboard_defconfig
|
||||
|
@ -1539,6 +1539,7 @@ if BR2_PACKAGE_POSTGRESQL
|
||||
source "package/postgis/Config.in"
|
||||
endif
|
||||
source "package/redis/Config.in"
|
||||
source "package/redis-plus-plus/Config.in"
|
||||
source "package/rocksdb/Config.in"
|
||||
source "package/sqlcipher/Config.in"
|
||||
source "package/sqlite/Config.in"
|
||||
|
15
package/redis-plus-plus/Config.in
Normal file
15
package/redis-plus-plus/Config.in
Normal file
@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_REDIS_PLUS_PLUS
|
||||
bool "redis-plus-plus"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
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++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
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 a49a72fef26ed39d36a278fcc4e4d92822e111697b5992d8f26f70d16edc6c1f redis-plus-plus-1.3.5.tar.gz
|
||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
27
package/redis-plus-plus/redis-plus-plus.mk
Normal file
27
package/redis-plus-plus/redis-plus-plus.mk
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# redis-plus-plus
|
||||
#
|
||||
################################################################################
|
||||
|
||||
REDIS_PLUS_PLUS_VERSION = 1.3.5
|
||||
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
|
||||
|
||||
REDIS_PLUS_PLUS_CONF_OPTS = \
|
||||
-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))
|
Loading…
Reference in New Issue
Block a user