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
13 # Copyright 2023, Niklas Poslovski
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= cmocka
20 COMPONENT_VERSION
= 1.1.7
21 COMPONENT_SUMMARY
= Unit testing framework for C with support for mock objects
22 COMPONENT_PROJECT_URL
= https
://cmocka.org
/
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:243344de12f8df78fa639fb426dd02d4cb37eda61462e48e6a0e13a98b94602a
26 COMPONENT_ARCHIVE_URL
= https
://gitlab.com
/cmocka
/cmocka
/-/archive
/$(COMPONENT_NAME
)-$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_FMRI
= library
/cmocka
28 COMPONENT_CLASSIFICATION
=Development
/C
29 COMPONENT_LICENSE
= Apache
2.0
30 COMPONENT_LICENSE_FILE
= COPYING
32 include $(WS_MAKE_RULES
)/common.mk
34 # Auto-generated dependencies
35 REQUIRED_PACKAGES
+= system
/library