2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022-2023 Niklas Poslovski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= msgpack
19 COMPONENT_VERSION
= 6.0.0
20 #COMPONENT_REVISION= 1
21 COMPONENT_PROJECT_URL
= https
://msgpack.org
22 COMPONENT_SUMMARY
= An efficient object serialization library
23 COMPONENT_FMRI
= library
/msgpack
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-c-
$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:3654f5e2c652dc52e0a993e270bb57d5702b262703f03771c152bba51602aeba
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/msgpack
/msgpack-c
/releases
/download
/c-
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_CLASSIFICATION
= System
/Libraries
30 COMPONENT_LICENSE
= Boost
31 COMPONENT_LICENSE_FILE
= LICENSE_1_0.txt
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 CMAKE_OPTIONS
+= -DMSGPACK_BUILD_TESTS
=Off
37 CMAKE_OPTIONS
+= -DMSGPACK_ENABLE_STATIC
=Off
39 # Auto-generated dependencies
40 REQUIRED_PACKAGES
+= system
/library