python-pyroute2: bump to version 0.3.16
[buildroot-gz.git] / package / rabbitmq-c / rabbitmq-c.mk
blob42e2548e344aa65269894fa2f865c605f4d7233e
1 ################################################################################
3 # rabbitmq-c
5 ################################################################################
7 RABBITMQ_C_VERSION = 0.7.1
8 RABBITMQ_C_SITE = https://github.com/alanxz/rabbitmq-c/releases/download/v$(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))