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
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= abseil-cpp
19 COMPONENT_VERSION
= 20240116.2
20 COMPONENT_SUMMARY
= Collection of C
++ library code designed to augment the C
++ standard library
21 COMPONENT_PROJECT_URL
= https
://abseil.io
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= sha256
:733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
25 COMPONENT_ARCHIVE_URL
= https
://github.com
/abseil
/$(COMPONENT_NAME
)/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
26 COMPONENT_FMRI
= library
/c
++/abseil-cpp
27 COMPONENT_CLASSIFICATION
= Development
/C
++
28 COMPONENT_LICENSE
= Apache
29 COMPONENT_LICENSE_FILE
= LICENSE
31 # Tests require Googletest which we don't have yet.
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 CMAKE_OPTIONS
+= -DBUILD_SHARED_LIBS
=ON
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