vim: update to 9.1.0984
[oi-userland.git] / components / scientific / netcdf-c / Makefile
blobf1c10979fd9ebb73211a21fdfa97004980873049
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 2017 Dariusz Sendkowski
13 # Copyright 2023 Andreas Wacknitz
16 USE_DEFAULT_TEST_TRANSFORMS= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= netcdf-c
20 COMPONENT_VERSION= 4.9.2
21 COMPONENT_SUMMARY= A set of software libraries and self-describing, machine-independent data formats.
22 COMPONENT_DESCRIPTION= NetCDF (Network Common Data Form) is a set of software libraries and machine-independent data formats \
23 that support the creation, access, and sharing of array-oriented scientific data.
24 COMPONENT_PROJECT_URL= https://www.unidata.ucar.edu/software/netcdf/
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7
28 COMPONENT_ARCHIVE_URL= https://github.com/Unidata/netcdf-c/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
29 COMPONENT_FMRI= library/netcdf-c
30 COMPONENT_CLASSIFICATION= System/Libraries
31 COMPONENT_LICENSE= UCAR
32 COMPONENT_LICENSE_FILE= COPYRIGHT
34 include $(WS_MAKE_RULES)/common.mk
36 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I/usr/include/hdf5"
37 CONFIGURE_OPTIONS += --disable-dependency-tracking
38 CONFIGURE_OPTIONS += --enable-static=no
39 CONFIGURE_OPTIONS += --enable-hdf5
40 CONFIGURE_OPTIONS += --with-plugin-dir=/usr/share/netcdf-c/plugins
42 unexport SHELLOPTS
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += compress/bzip2
46 REQUIRED_PACKAGES += compress/zstd
47 REQUIRED_PACKAGES += library/c++/hdf5
48 REQUIRED_PACKAGES += library/libxml2
49 REQUIRED_PACKAGES += library/libzip
50 REQUIRED_PACKAGES += library/zlib
51 REQUIRED_PACKAGES += shell/ksh93
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/math
54 REQUIRED_PACKAGES += web/curl