Added sit class file for netcdf-4.1.3

This commit is contained in:
Christoph Niethammer 2012-06-10 15:01:15 +00:00
parent 0712e9dd95
commit 264ccc6143

View file

@ -0,0 +1,35 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
#
CATEGORY="libs"
PACKAGE="netcdf"
VERSION="4.1.3"
URL="http://www.open-mpi.org"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A=${PACKAGE}-${VERSION}.tar.gz
P=${PACKAGE}-${VERSION}
# Other interesting configure options:
# --enable-mpi-threads
# --enable-progress-threads
# --with-fca=DIR
CONFIGURE_OPTS="
--with-devel-headers \
--enable-contrib-no-build=vt
--enable-shared \
--enable-static"
if [[ -d /opt/voltaire/fca ]]; then
echo "Voltaire FCA found"
CONFIGURE_OPTS+=" --with-fca=/opt/voltaire/fca"
fi
src_pretest() {
make check
}