gnu: netcdf: Enable HDF4 support.

* gnu/packages/maths.scm (netcdf)[inputs]: Add hdf4-alt and libjpeg.
  [arguments]: Add "--enable-hdf4" configure flag.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Thomas Danckaert 2016-12-23 14:56:00 +01:00 committed by Marius Bakke
parent f7fb34a06c
commit db82557013
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -726,10 +726,12 @@ (define-public netcdf
("doxygen" ,doxygen)
("graphviz" ,graphviz)))
(inputs
`(("hdf5" ,hdf5)
("zlib" ,zlib)))
`(("hdf4" ,hdf4-alt)
("hdf5" ,hdf5)
("zlib" ,zlib)
("libjpeg" ,libjpeg)))
(arguments
`(#:configure-flags '("--enable-doxygen" "--enable-dot")
`(#:configure-flags '("--enable-doxygen" "--enable-dot" "--enable-hdf4")
#:parallel-tests? #f)) ;various race conditions
(home-page "http://www.unidata.ucar.edu/software/netcdf/")
(synopsis "Library for scientific data")