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.
14 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_VERSION
= 1.8.13
18 COMPONENT_FMRI
= library
/g
++/hdf5
19 COMPONENT_PROJECT_URL
= http
://www.hdfgroup.org
20 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
21 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
22 COMPONENT_ARCHIVE_HASH
= \
23 sha256
:82f6b38eec103b4fccfbf14892786e0c27a8135d3252d8601cf5bf20066d38c1
24 COMPONENT_ARCHIVE_URL
= http
://www.hdfgroup.org
/ftp
/HDF5
/current
/src
/$(COMPONENT_ARCHIVE
)
25 COMPONENT_BUGDB
= $(COMPONENT_FMRI
)
26 COMPONENT_LICENSE
= NCSA
27 COMPONENT_LICENSE_FILE
= $(COMPONENT_NAME
).license
28 COMPONENT_SUMMARY
= Data model
, library
, and file format for storing and managing data
30 include $(WS_MAKE_RULES
)/prep.mk
31 include $(WS_MAKE_RULES
)/configure.mk
32 include $(WS_MAKE_RULES
)/ips.mk
34 CONFIGURE_PREFIX
=/usr
/g
++
35 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS) -D_LARGEFILE_SOURCE -D__EXTENSIONS__"
36 CONFIGURE_OPTIONS
+= --includedir=$(CONFIGURE_PREFIX
)/include/hdf5
37 CONFIGURE_OPTIONS
+= --disable-static
38 CONFIGURE_OPTIONS
+= --enable-fortran
39 CONFIGURE_OPTIONS
+= --enable-cxx
42 build
: $(BUILD_32_and_64
)
44 install: $(INSTALL_32_and_64
)
46 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
48 include $(WS_MAKE_RULES
)/depend.mk