Initial Commit
- initial default booting image
This commit is contained in:
12
package/hiredis/Config.in
Normal file
12
package/hiredis/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_HIREDIS
|
||||
bool "hiredis"
|
||||
help
|
||||
Minimalistic C client for Redis >= 1.2
|
||||
|
||||
It is minimalistic because it just adds minimal support for
|
||||
the protocol, but at the same time it uses a high level
|
||||
printf-alike API in order to make it much higher level than
|
||||
otherwise suggested by its minimal code base and the lack of
|
||||
explicit bindings for every Redis command.
|
||||
|
||||
https://github.com/redis/hiredis
|
||||
3
package/hiredis/hiredis.hash
Normal file
3
package/hiredis/hiredis.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 25cee4500f359cf5cad3b51ed62059aadfc0939b05150c1f19c7e2829123631c hiredis-1.3.0.tar.gz
|
||||
sha256 dca05ce8fc87a8261783b4aed0deef8becc9350b6aa770bc714d0c1833b896eb COPYING
|
||||
40
package/hiredis/hiredis.mk
Normal file
40
package/hiredis/hiredis.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# hiredis
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HIREDIS_VERSION_MAJOR = 1.3
|
||||
HIREDIS_VERSION = $(HIREDIS_VERSION_MAJOR).0
|
||||
HIREDIS_SITE = $(call github,redis,hiredis,v$(HIREDIS_VERSION))
|
||||
HIREDIS_LICENSE = BSD-3-Clause
|
||||
HIREDIS_LICENSE_FILES = COPYING
|
||||
HIREDIS_CPE_ID_VENDOR = redis
|
||||
HIREDIS_INSTALL_STAGING = YES
|
||||
|
||||
# The package is a dependency to ccache so ccache cannot be a dependency
|
||||
HOST_HIREDIS_ADD_CCACHE_DEPENDENCY = NO
|
||||
|
||||
HIREDIS_CONF_OPTS = -DENABLE_NUGET=OFF -DDISABLE_TESTS=ON
|
||||
HOST_HIREDIS_CONF_OPTS = -DENABLE_NUGET=OFF -DDISABLE_TESTS=ON -DENABLE_SSL=OFF
|
||||
|
||||
# Set CMAKE_BUILD_TYPE to Release or the libraries will be suffixed with "d"
|
||||
# resulting in build failures when linking.
|
||||
HIREDIS_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
|
||||
HOST_HIREDIS_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
|
||||
HIREDIS_CONF_OPTS += -DENABLE_SSL=ON
|
||||
HIREDIS_DEPENDENCIES += openssl
|
||||
else
|
||||
HIREDIS_CONF_OPTS += -DENABLE_SSL=OFF
|
||||
endif
|
||||
|
||||
# We may be a ccache dependency, so we can't use ccache; reset the
|
||||
# options set by the cmake infra.
|
||||
HOST_HIREDIS_CONF_OPTS += \
|
||||
-UCMAKE_C_COMPILER_LAUNCHER \
|
||||
-UCMAKE_CXX_COMPILER_LAUNCHER
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
Reference in New Issue
Block a user