Marcel Telka
2024-04-05 26ab531a0abac615aaedf17622ee2aa5e19c5114
commit | author | age
d12458 1 #
S 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.
5 #
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.
9 #
10
11 #
12 # Copyright 2022 Daniel Chan
acc946 13 # Copyright 2023 Andreas Wacknitz
d12458 14 #
S 15
acc946 16 BUILD_BITS= 64
AW 17 BUILD_STYLE= justmake
d12458 18 include ../../../make-rules/shared-macros.mk
S 19
20 COMPONENT_NAME=        pystring
acc946 21 COMPONENT_VERSION=    1.1.4
d12458 22 COMPONENT_SUMMARY=    C++ functions matching the interface and behavior of python string methods with std::string
acc946 23 COMPONENT_PROJECT_URL=    https://github.com/imageworks/$(COMPONENT_NAME)
d12458 24 COMPONENT_SRC=            $(COMPONENT_NAME)-$(COMPONENT_VERSION)
S 25 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL=  $(COMPONENT_PROJECT_URL)/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
acc946 27 COMPONENT_ARCHIVE_HASH=    sha256:49da0fe2a049340d3c45cce530df63a2278af936003642330287b68cefd788fb
AW 28 COMPONENT_FMRI=                library/pystring
29 COMPONENT_CLASSIFICATION=    System/Libraries
30 COMPONENT_LICENSE=        MIT
d12458 31 COMPONENT_LICENSE_FILE=    LICENSE
S 32
33 include $(WS_MAKE_RULES)/common.mk
acc946 34 PATH= $(PATH.gnu)
d12458 35
acc946 36 COMPONENT_TEST_TARGETS= test
AW 37 COMPONENT_TEST_TRANSFORMS += \
38     ' -n ' \
39     ' -e "/PASSED/p" ' \
40     ' -e "/FAILED/p" ' \
41     ' -e "/failed/p" '
d12458 42
S 43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
45 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
46 REQUIRED_PACKAGES += system/library