python/rapidfuzz: update to 3.11.0
[oi-userland.git] / components / library / re2 / Makefile
blob5a5f6e5bea17438a4eed98b73b9be32a218f2442
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 2023 Niklas Poslovski
15 BUILD_STYLE= cmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= re2
19 COMPONENT_VERSION= 2024.7.2
20 HUMAN_VERSION= 2024-07-02
21 COMPONENT_SUMMARY= Fast, safe, thread-friendly regular expression engine
22 COMPONENT_PROJECT_URL= https://github.com/google/re2
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:eb2df807c781601c14a260a507a5bb4509be1ee626024cb45acbd57cb9d4032b
26 COMPONENT_ARCHIVE_URL= https://github.com/google/$(COMPONENT_NAME)/releases/download/$(HUMAN_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_FMRI= library/re2
28 COMPONENT_CLASSIFICATION= Development/C++
29 COMPONENT_LICENSE= BSD
30 COMPONENT_LICENSE_FILE= LICENSE
32 # Tests require Googletest which we don't have yet.
33 TEST_TARGET= $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
38 # Auto-generated dependencies
39 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
40 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
41 REQUIRED_PACKAGES += library/c++/abseil-cpp
42 REQUIRED_PACKAGES += system/library
43 REQUIRED_PACKAGES += system/library/math