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 2022 Daniel Chan
13 # Copyright 2023 Niklas Poslovski
17 USE_PARALLEL_BUILD
= yes
18 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_VERSION
= 3.1.12
23 COMPONENT_SUMMARY
= C
++ representation of
2D and
3D vectors
24 COMPONENT_PROJECT_URL
= https
://github.com
/AcademySoftwareFoundation
/$(COMPONENT_NAME
)
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:8a1bc258f3149b5729c2f4f8ffd337c0e57f09096e4ba9784329f40c4a9035da
28 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/refs
/tags/v
$(COMPONENT_VERSION
).
tar.gz
29 COMPONENT_FMRI
= library
/imath
30 COMPONENT_CLASSIFICATION
=System
/Libraries
31 COMPONENT_LICENSE
= BSD
3-Clause
32 COMPONENT_LICENSE_FILE
= LICENSE.md
34 include $(WS_MAKE_RULES
)/common.mk
38 CMAKE_OPTIONS
+= -DCMAKE_INSTALL_PREFIX
=$(USRDIR
)
39 CMAKE_OPTIONS
.64 += -DCMAKE_INSTALL_LIBDIR
=lib
/$(MACH64
)
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
43 REQUIRED_PACKAGES
+= system
/library
44 REQUIRED_PACKAGES
+= system
/library
/math