MessagePack ships both in a C++ and a C variant. Add the latter to Buildroot. This will be used by fluent-bit. Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com> [Julien: - switch homepage URL to use https - add a note in package/msgpack{,-c}/Config.in to clarify C/C++ variants ] Signed-off-by: Julien Olivain <ju.o@free.fr>
19 lines
577 B
Makefile
19 lines
577 B
Makefile
################################################################################
|
|
#
|
|
# msgpack-c
|
|
#
|
|
################################################################################
|
|
|
|
MSGPACK_C_VERSION = 6.1.0
|
|
MSGPACK_C_SITE = $(call github,msgpack,msgpack-c,c-$(MSGPACK_C_VERSION))
|
|
MSGPACK_C_LICENSE = BSL-1.0
|
|
MSGPACK_C_LICENSE_FILES = COPYING LICENSE_1_0.txt
|
|
MSGPACK_C_INSTALL_STAGING = YES
|
|
MSGPACK_C_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
MSGPACK_C_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|