gnu: netcdf: Enable HDF4 support.
authorThomas Danckaert <thomas.danckaert@gmail.com>
Fri, 23 Dec 2016 13:56:00 +0000 (14:56 +0100)
committerMarius Bakke <mbakke@fastmail.com>
Sat, 24 Dec 2016 13:41:50 +0000 (14:41 +0100)
* 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>
gnu/packages/maths.scm

index e15eddc..d045895 100644 (file)
@@ -726,10 +726,12 @@ HDF5 file is encoded according to the HDF File Format Specification.")
        ("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")