ruby: bump version to 2.4.1
[buildroot-gz.git] / package / bctoolbox / bctoolbox.mk
blobf972ab68c3879b766bb140b774ce685d1b6c73e6
1 ################################################################################
3 # bctoolbox
5 ################################################################################
7 BCTOOLBOX_VERSION = 0.4.0
8 BCTOOLBOX_SITE = $(call github,BelledonneCommunications,bctoolbox,$(BCTOOLBOX_VERSION))
9 BCTOOLBOX_LICENSE = GPLv2+
10 BCTOOLBOX_LICENSE_FILES = COPYING
11 BCTOOLBOX_INSTALL_STAGING = YES
13 # Set CMAKE_SKIP_RPATH to prevent bctoolbox from adding the rpath to
14 # shared library.
15 BCTOOLBOX_CONF_OPTS = \
16 -DENABLE_POLARSSL=OFF \
17 -DENABLE_STRICT=OFF \
18 -DENABLE_TESTS_COMPONENT=OFF \
19 -DENABLE_TESTS=OFF \
20 -DGIT_EXECUTABLE=OFF \
21 -DCMAKE_SKIP_RPATH=ON
23 ifeq ($(BR2_PACKAGE_MBEDTLS),y)
24 BCTOOLBOX_DEPENDENCIES += mbedtls
25 BCTOOLBOX_CONF_OPTS += -DENABLE_MBEDTLS=ON
26 else
27 BCTOOLBOX_CONF_OPTS += -DENABLE_MBEDTLS=OFF
28 endif
30 ifeq ($(BR2_STATIC_LIBS),y)
31 BCTOOLBOX_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
32 else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
33 BCTOOLBOX_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON
34 else ifeq ($(BR2_SHARED_LIBS),y)
35 BCTOOLBOX_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
36 endif
38 $(eval $(cmake-package))