Andreas Wacknitz
2024-04-09 70c6f01d2cc55cd923e1924a225bb59b3a1b4254
commit | author | age
f70fe4 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
ca72ec 15 BUILD_STYLE= cmake
f70fe4 16 include ../../../make-rules/shared-macros.mk
NP 17
18 COMPONENT_NAME=         abseil-cpp
70c6f0 19 COMPONENT_VERSION=      20240116.2
f70fe4 20 COMPONENT_SUMMARY=      Collection of C++ library code designed to augment the C++ standard library
d9d96f 21 COMPONENT_PROJECT_URL=  https://abseil.io
f70fe4 22 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
NP 23 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
70c6f0 24 COMPONENT_ARCHIVE_HASH= sha256:733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
f70fe4 25 COMPONENT_ARCHIVE_URL=    https://github.com/abseil/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
d9d96f 26 COMPONENT_FMRI=         library/c++/abseil-cpp
f70fe4 27 COMPONENT_CLASSIFICATION=       Development/C++
NP 28 COMPONENT_LICENSE=      Apache
29 COMPONENT_LICENSE_FILE= LICENSE
30
31 # Tests require Googletest which we don't have yet.
ca72ec 32 TEST_TARGET= $(NO_TESTS)
f70fe4 33 include $(WS_MAKE_RULES)/common.mk
NP 34
35 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
36
37 # Auto-generated dependencies
38 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
39 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
40 REQUIRED_PACKAGES += system/library
41 REQUIRED_PACKAGES += system/library/math