vim: update to 9.1.0984
[oi-userland.git] / components / library / inih / Makefile
blob620cdbd2944fe386c24d5c2665da5b6a0f0cbe6a
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2024 Andreas Wacknitz
16 BUILD_BITS= 64
17 BUILD_STYLE= meson
18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= inih
22 COMPONENT_VERSION= 58
23 COMPONENT_SUMMARY= inih (INI Not Invented Here) is a simple .INI file parser written in C
24 COMPONENT_SRC= $(COMPONENT_NAME)-r$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_PROJECT_URL= https://github.com/benhoyt/inih
27 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/refs/tags/r$(COMPONENT_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH= sha256:e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7
29 COMPONENT_FMRI= library/$(COMPONENT_NAME)
30 COMPONENT_CLASSIFICATION= Development/C
31 COMPONENT_LICENSE= BSD 3-Clause
32 COMPONENT_LICENSE_FILE= LICENSE.txt
34 # Tests don't work with our machinery yet.
35 TEST_TARGET= $(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 PATH= $(PATH.gnu)
40 COMPONENT_TEST_CMD= ( cd $(SOURCE_DIR)/tests && $(SH) unittest.sh )
41 COMPONENT_TEST_DIR= tests
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
45 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
46 REQUIRED_PACKAGES += system/library