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 2023 Niklas Poslovski
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 0.31.0
21 COMPONENT_SUMMARY
= CommonMark parsing and rendering library and program in C
22 COMPONENT_PROJECT_URL
= https
://github.com
/commonmark
/cmark
23 COMPONENT_FMRI
= library
/cmark
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:bbcb8f8c03b5af33fcfcf11a74e9499f20a9043200b8552f78a6e8ba76e04d11
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/commonmark
/$(COMPONENT_NAME
)/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_CLASSIFICATION
= System
/Libraries
29 COMPONENT_LICENSE
= Custom
30 COMPONENT_LICENSE_FILE
= COPYING
32 include $(WS_MAKE_RULES
)/common.mk
34 CMAKE_OPTIONS
+= -DCMARK_STATIC
=OFF
36 # Auto-generated dependencies
37 REQUIRED_PACKAGES
+= system
/library