json-c: add 32 bit library, needed in order to be able to build fontconfig in 32...
[oi-userland.git] / components / library / pystring / Makefile
blobc075a4e1961bffab7f7573584e483a1f1611d537
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 Andreas Wacknitz
16 BUILD_BITS= 64
17 BUILD_STYLE= justmake
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= pystring
21 COMPONENT_VERSION= 1.1.4
22 COMPONENT_SUMMARY= C++ functions matching the interface and behavior of python string methods with std::string
23 COMPONENT_PROJECT_URL= https://github.com/imageworks/$(COMPONENT_NAME)
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:49da0fe2a049340d3c45cce530df63a2278af936003642330287b68cefd788fb
28 COMPONENT_FMRI= library/pystring
29 COMPONENT_CLASSIFICATION= System/Libraries
30 COMPONENT_LICENSE= MIT
31 COMPONENT_LICENSE_FILE= LICENSE
33 include $(WS_MAKE_RULES)/common.mk
34 PATH= $(PATH.gnu)
36 COMPONENT_TEST_TARGETS= test
37 COMPONENT_TEST_TRANSFORMS += \
38 ' -n ' \
39 ' -e "/PASSED/p" ' \
40 ' -e "/FAILED/p" ' \
41 ' -e "/failed/p" '
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
45 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
46 REQUIRED_PACKAGES += system/library