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