1 ################################################################################
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_DEPENDENCIES
= mbedtls
12 BCTOOLBOX_INSTALL_STAGING
= YES
14 BCTOOLBOX_CONF_OPTS
= \
16 -DENABLE_TESTS_COMPONENT
=OFF \
20 ifeq ($(BR2_STATIC_LIBS
),y
)
21 BCTOOLBOX_CONF_OPTS
+= -DENABLE_SHARED
=OFF
-DENABLE_STATIC
=ON
22 else ifeq ($(BR2_SHARED_STATIC_LIBS
),y
)
23 BCTOOLBOX_CONF_OPTS
+= -DENABLE_SHARED
=ON
-DENABLE_STATIC
=ON
24 else ifeq ($(BR2_SHARED_LIBS
),y
)
25 BCTOOLBOX_CONF_OPTS
+= -DENABLE_SHARED
=ON
-DENABLE_STATIC
=OFF
28 $(eval
$(cmake-package
))