1 ################################################################################
5 ################################################################################
7 RABBITMQ_C_VERSION
= v0.8
.0
8 RABBITMQ_C_SITE
= $(call github
,alanxz
,rabbitmq-c
,$(RABBITMQ_C_VERSION
))
9 RABBITMQ_C_LICENSE
= MIT
10 RABBITMQ_C_LICENSE_FILES
= LICENSE-MIT
11 RABBITMQ_C_INSTALL_STAGING
= YES
12 RABBITMQ_C_CONF_OPTS
= \
13 -DBUILD_API_DOCS
=OFF \
14 -DBUILD_TOOLS_DOCS
=OFF
16 ifeq ($(BR2_STATIC_LIBS
),y
)
17 RABBITMQ_C_CONF_OPTS
+= -DBUILD_SHARED_LIBS
=OFF
-DBUILD_STATIC_LIBS
=ON
18 else ifeq ($(BR2_SHARED_STATIC_LIBS
),y
)
19 RABBITMQ_C_CONF_OPTS
+= -DBUILD_SHARED_LIBS
=ON
-DBUILD_STATIC_LIBS
=ON
20 else ifeq ($(BR2_SHARED_LIBS
),y
)
21 RABBITMQ_C_CONF_OPTS
+= -DBUILD_SHARED_LIBS
=ON
-DBUILD_STATIC_LIBS
=OFF
24 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
25 RABBITMQ_C_CONF_OPTS
+= -DENABLE_SSL_SUPPORT
=ON
26 RABBITMQ_C_DEPENDENCIES
+= openssl
28 RABBITMQ_C_CONF_OPTS
+= -DENABLE_SSL_SUPPORT
=OFF
31 ifeq ($(BR2_PACKAGE_POPT
), y
)
32 RABBITMQ_C_CONF_OPTS
+= -DBUILD_TOOLS
=ON
33 RABBITMQ_C_DEPENDENCIES
+= popt
35 RABBITMQ_C_CONF_OPTS
+= -DBUILD_TOOLS
=OFF
38 $(eval
$(cmake-package
))