Andreas Wacknitz
2024-04-04 aa5629f8abf120463b72331be95665d0dc55eba4
commit | author | age
a2a986 1 #
NP 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 2023 Niklas Poslovski
13 #
14
8380c3 15 BUILD_STYLE= cmake
a2a986 16 include ../../../make-rules/shared-macros.mk
NP 17
18 COMPONENT_NAME=         re2
aa5629 19 COMPONENT_VERSION=      2024.4.1
AW 20 HUMAN_VERSION=          2024-04-01
a2a986 21 COMPONENT_SUMMARY=      Fast, safe, thread-friendly regular expression engine
3076ca 22 COMPONENT_PROJECT_URL=  https://github.com/google/re2
a2a986 23 COMPONENT_SRC=          $(COMPONENT_NAME)-$(HUMAN_VERSION)
NP 24 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
aa5629 25 COMPONENT_ARCHIVE_HASH= sha256:3f6690c3393a613c3a0b566309cf04dc381d61470079b653afc47c67fb898198
a2a986 26 COMPONENT_ARCHIVE_URL=    https://github.com/google/$(COMPONENT_NAME)/releases/download/$(HUMAN_VERSION)/$(COMPONENT_ARCHIVE)
3076ca 27 COMPONENT_FMRI=         library/re2
AW 28 COMPONENT_CLASSIFICATION= Development/C++
a2a986 29 COMPONENT_LICENSE=      BSD
NP 30 COMPONENT_LICENSE_FILE= LICENSE
31
32 # Tests require Googletest which we don't have yet.
8380c3 33 TEST_TARGET= $(NO_TESTS)
a2a986 34 include $(WS_MAKE_RULES)/common.mk
NP 35
36 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
37
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