Module submission - hdf

duncan.gibson@xs4all.nl duncan.gibson at xs4all.nl
Fri Sep 22 15:13:11 UTC 2006


module name       : hdf
suggested section : science
update (y/n)      : n
bugfix (y/n)      : n
security (y/n)    : n

Hierarchical Data Format (HDF) libraries and tools.
This is HDF[4] and is not compatible with the newer HDF5.

Optional depends on netcdf and szip, which were also sumbitted
recently. The BUILD and DEPENDS handling of netcdf are maybe
too complicated so that you can choose to ignore it even if
you already have it installed.

Note - only minimal testing because it's effectively been
superseded by HDF5, but provided as a module for completeness.

Duncan / engelsman

-------------- next part --------------
--- hdf/BUILD	1970-01-01 01:00:00.000000000 +0100
+++ hdf/BUILD	2006-09-17 15:56:28.000000000 +0200
@@ -0,0 +1,24 @@
+(
+  # configure with explicit prefix to force installation in /usr
+  # (rather than in source tree which will disappear after build)
+
+  if `echo $OPTS | grep -q "DHAVE_NETCDF"` ; then
+      export CPPFLAGS="$CPPFLAGS -DHAVE_NETCDF"
+      OPTS=`echo $OPTS | sed 's/-DHAVE_NETCDF//'`
+  fi
+  if `echo $OPTS | grep -q "UHAVE_NETCDF"` ; then
+      export CPPFLAGS="$CPPFLAGS -UHAVE_NETCDF"
+      OPTS=`echo $OPTS | sed 's/-UHAVE_NETCDF//'`
+  fi
+
+  export LDFLAGS="$LDFLAGS -lm"
+
+  OPTS=$OPTS" --prefix=/usr     \
+              --disable-fortran "
+
+  ./configure $OPTS                     &&
+  prepare_install                       &&
+  make install
+
+) > $C_FIFO 2>&1
+
--- hdf/DEPENDS	1970-01-01 01:00:00.000000000 +0100
+++ hdf/DEPENDS	2006-09-17 16:16:53.000000000 +0200
@@ -0,0 +1,13 @@
+depends zlib    &&
+depends jpeg    &&
+
+optional_depends "szip"                                 \
+                 "--enable-szlib=yes"                   \
+                 "--enable-szlib=no"                    \
+                 "for SZIP compression"   &&
+
+optional_depends "netcdf"                               \
+                 "-DHAVE_NETCDF" 			\
+                 "-UHAVE_NETCDF" 			\
+                 "use external netCDF library rather than internal"
+
--- hdf/DETAILS	1970-01-01 01:00:00.000000000 +0100
+++ hdf/DETAILS	2006-09-17 14:19:44.000000000 +0200
@@ -0,0 +1,28 @@
+          MODULE=hdf
+         VERSION=4.2r1
+          SOURCE=$MODULE$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
+      SOURCE_URL=ftp://ftp.ncsa.uiuc.edu/HDF/pub/outgoing/hdf4/$MODULE$VERSION/
+      SOURCE_VFY=sha1:bc6f19144fdc8b9d1a464f37ad7d2c3b45efd881
+        WEB_SITE=http://www.hdfgroup.com/
+         ENTERED=20060917
+         UPDATED=20060917
+           SHORT="HDF scientific data management library"
+cat << EOF
+The HDF (Hierarchical Data Format) project involves the development
+and support of software and file formats for scientific data
+management.  The HDF software includes I/O libraries and tools for
+analyzing, visualizing, and converting scientific data.
+
+There are two HDF formats, HDF (4.x and previous releases) and HDF5.
+These formats are completely different and NOT compatible.
+(NOTE: There are no plans to drop support for HDF 4.x)
+
+The HDF software is developed/supported by THG and is freely available.
+It is used world-wide in many fields, including Environmental Science,
+Neutron Scattering, Non-Destructive Testing, and Aerospace, to name a
+few. Scientific projects that use HDF include NASA's HDF-EOS project,
+and the DOE's Advanced Simulation and Computing Program. 
+
+NOTE: Fortran support is not available in this Lunar version.
+EOF
-------------- next part --------------
lvu submit hdf 9890f309f3d09100a37b25edd1c960fa  -
2.6.17.11 2.6.12 gcc-3.4.6 glibc-2.3.6


More information about the Lunar mailing list