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 Daniel Chan
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 0.5.2
20 COMPONENT_SUMMARY
= Markdown parser library in C
, and md2html converter
21 COMPONENT_PROJECT_URL
= https
://github.com
/mity
22 COMPONENT_GIT_TAG
= release-
$(COMPONENT_VERSION
)
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_GIT_TAG
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/$(COMPONENT_NAME
)/archive
/refs
/tags/$(COMPONENT_GIT_TAG
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:55d0111d48fb11883aaee91465e642b8b640775a4d6993c2d0e7a8092758ef21
27 COMPONENT_FMRI
= library
/$(COMPONENT_NAME
)
28 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
29 COMPONENT_LICENSE
= MIT
30 COMPONENT_LICENSE_FILE
= LICENSE.md
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 CMAKE_OPTIONS
+= -DCMAKE_INSTALL_LIBDIR
=$(USRLIBDIR64
)
36 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
38 # Auto-generated dependencies
39 REQUIRED_PACKAGES
+= system
/library