linux-headers: bump 4.{4, 9, 10}.x series
[buildroot-gz.git] / package / rabbitmq-c / rabbitmq-c.mk
blob1ca35ad00c275bd60bc23ea0119570905b45d571
1 ################################################################################
3 # rabbitmq-c
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
22 endif
24 ifeq ($(BR2_PACKAGE_OPENSSL),y)
25 RABBITMQ_C_CONF_OPTS += -DENABLE_SSL_SUPPORT=ON
26 RABBITMQ_C_DEPENDENCIES += openssl
27 else
28 RABBITMQ_C_CONF_OPTS += -DENABLE_SSL_SUPPORT=OFF
29 endif
31 ifeq ($(BR2_PACKAGE_POPT), y)
32 RABBITMQ_C_CONF_OPTS += -DBUILD_TOOLS=ON
33 RABBITMQ_C_DEPENDENCIES += popt
34 else
35 RABBITMQ_C_CONF_OPTS += -DBUILD_TOOLS=OFF
36 endif
38 $(eval $(cmake-package))