Andreas Wacknitz
2024-04-09 70c6f01d2cc55cd923e1924a225bb59b3a1b4254
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2023 Niklas Poslovski
#
 
BUILD_STYLE= cmake
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=         abseil-cpp
COMPONENT_VERSION=      20240116.2
COMPONENT_SUMMARY=      Collection of C++ library code designed to augment the C++ standard library
COMPONENT_PROJECT_URL=  https://abseil.io
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= sha256:733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
COMPONENT_ARCHIVE_URL=    https://github.com/abseil/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
COMPONENT_FMRI=         library/c++/abseil-cpp
COMPONENT_CLASSIFICATION=       Development/C++
COMPONENT_LICENSE=      Apache
COMPONENT_LICENSE_FILE= LICENSE
 
# Tests require Googletest which we don't have yet.
TEST_TARGET= $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
 
CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
 
# Auto-generated dependencies
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math