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 2014 (c) Aurelien Larcher. All rights reserved.
13 # Copyright 2023 (c) Andreas Wacknitz
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_MJR_VERSION
= 1.14
21 COMPONENT_BLD_VERSION
= $(COMPONENT_MJR_VERSION
).5
22 COMPONENT_VERSION
= $(COMPONENT_BLD_VERSION
)
23 #HUMAN_VERSION= $(COMPONENT_MJR_VERSION).5
24 COMPONENT_SUMMARY
= HDF5
- Data model
, library
, and file format for storing and managing data
25 COMPONENT_PROJECT_URL
= https
://www.hdfgroup.org
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/HDFGroup
/hdf5
/releases
/download
/hdf5_
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_ARCHIVE_HASH
= sha256
:ec2e13c52e60f9a01491bb3158cb3778c985697131fc6a342262d32a26e58e44
30 COMPONENT_CLASSIFICATION
= System
/Libraries
31 COMPONENT_FMRI
= library
/c
++/hdf5
32 COMPONENT_LICENSE
= NCSA
33 COMPONENT_LICENSE_FILE
= COPYING
35 include $(WS_MAKE_RULES
)/common.mk
37 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS) -D_LARGEFILE_SOURCE -D__EXTENSIONS__"
38 CONFIGURE_OPTIONS
+= --includedir=$(CONFIGURE_PREFIX
)/include/hdf5
39 CONFIGURE_OPTIONS
+= --with-default-plugindir
=$(CONFIGURE_PREFIX
)/share
/hdf5
/plugins
40 CONFIGURE_OPTIONS
+= --with-examplesdir
=$(CONFIGURE_PREFIX
)/share
/hdf5
/examples
41 CONFIGURE_OPTIONS
+= --disable-static
42 CONFIGURE_OPTIONS
+= --enable-fortran
43 CONFIGURE_OPTIONS
+= --enable-cxx
45 COMPONENT_TEST_TRANSFORMS
+= \
50 ' -e "/finished/p" ' \
51 ' -e "/Test log/p" ' \
52 ' -e "/Test sizes/p" '
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= $(GFORTRAN_RUNTIME_PKG
)
56 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
57 REQUIRED_PACKAGES
+= SUNWcs
58 REQUIRED_PACKAGES
+= library
/zlib
59 REQUIRED_PACKAGES
+= shell/ksh93
60 REQUIRED_PACKAGES
+= system
/library
61 REQUIRED_PACKAGES
+= system
/library
/math