1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# hiredis 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunHIREDIS_VERSION_MAJOR = 1.0 8*4882a593SmuzhiyunHIREDIS_VERSION = $(HIREDIS_VERSION_MAJOR).2 9*4882a593SmuzhiyunHIREDIS_SITE = $(call github,redis,hiredis,v$(HIREDIS_VERSION)) 10*4882a593SmuzhiyunHIREDIS_LICENSE = BSD-3-Clause 11*4882a593SmuzhiyunHIREDIS_LICENSE_FILES = COPYING 12*4882a593SmuzhiyunHIREDIS_CPE_ID_VENDOR = redislabs 13*4882a593SmuzhiyunHIREDIS_INSTALL_STAGING = YES 14*4882a593SmuzhiyunHIREDIS_CONF_OPTS = -DDISABLE_TESTS=ON 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy) 17*4882a593SmuzhiyunHIREDIS_CONF_OPTS += -DENABLE_SSL=ON 18*4882a593SmuzhiyunHIREDIS_DEPENDENCIES += openssl 19*4882a593Smuzhiyunelse 20*4882a593SmuzhiyunHIREDIS_CONF_OPTS += -DENABLE_SSL=OFF 21*4882a593Smuzhiyunendif 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun$(eval $(cmake-package)) 24