{ "name": "Netcdf", "description": "Libraries and data formats for array-oriented scientific data", "url": "https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-c-4.6.3.tar.gz", "mirror": null, "homepage": "https://www.unidata.ucar.edu/software/netcdf", "depends": [ { "depend": "cmake", "build-depend": true }, { "depend": "gcc", "build-depend": false }, { "depend": "hdf5", "build-depend": false } ], "resource": [ { "name": "cxx", "url": "https://github.com/Unidata/netcdf-cxx4/archive/v4.3.0.tar.gz" }, { "name": "cxx-compat", "url": "https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-cxx-4.2.tar.gz" }, { "name": "fortran", "url": "https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-fortran-4.4.4.tar.gz" } ], "conflicts": [], "patches": [], "install": [ "ENV.deparallelize", "common_args = std_cmake_args << \"-DBUILD_TESTING=OFF\"", "mkdir \"build\" do", "args = common_args.dup", "args << \"-DENABLE_TESTS=OFF\"", "args << \"-DNC_EXTRA_DEPS=-lmpi\" if Tab.for_name(\"hdf5\").with? \"mpi\"", "args << \"-DENABLE_DAP_AUTH_TESTS=OFF\" << \"-DENABLE_NETCDF_4=ON\" << \"-DENABLE_DOXYGEN=OFF\"", "system \"cmake\", \"..\", \"-DBUILD_SHARED_LIBS=ON\", *args", "system \"make\", \"install\"", "system \"make\", \"clean\"", "system \"cmake\", \"..\", \"-DBUILD_SHARED_LIBS=OFF\", *args", "system \"make\"", "lib.install \"liblib/libnetcdf.a\"" ], "version": "4.6.3", "file": "netcdf.rb" }