Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
commit | author | age
c9ac54 1 #
AW 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.
6 #
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.
10 #
11
12 #
063c81 13 # Copyright 2024 Andreas Wacknitz
c9ac54 14 #
AW 15
063c81 16 BUILD_BITS= 64
c9ac54 17 BUILD_STYLE= meson
AW 18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 include ../../../make-rules/shared-macros.mk
20
21 COMPONENT_NAME= inih
063c81 22 COMPONENT_VERSION= 58
c9ac54 23 COMPONENT_SUMMARY= inih (INI Not Invented Here) is a simple .INI file parser written in C 
063c81 24 COMPONENT_SRC= $(COMPONENT_NAME)-r$(COMPONENT_VERSION)
c9ac54 25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
AW 26 COMPONENT_PROJECT_URL= https://github.com/benhoyt/inih
063c81 27 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/refs/tags/r$(COMPONENT_VERSION).tar.gz
AW 28 COMPONENT_ARCHIVE_HASH= sha256:e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7
c9ac54 29 COMPONENT_FMRI= library/$(COMPONENT_NAME)
AW 30 COMPONENT_CLASSIFICATION= Development/C
31 COMPONENT_LICENSE= BSD 3-Clause
32 COMPONENT_LICENSE_FILE= LICENSE.txt
33
34 # Tests don't work with our machinery yet.
35 TEST_TARGET= $(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
37
38 PATH= $(PATH.gnu)
39
40 COMPONENT_TEST_CMD= ( cd $(SOURCE_DIR)/tests && $(SH) unittest.sh )
41 COMPONENT_TEST_DIR= tests
42
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
45 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
46 REQUIRED_PACKAGES += system/library