From 264ccc614304a7445be534eacb2cd30d1aaa0f84 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Sun, 10 Jun 2012 15:01:15 +0000 Subject: [PATCH] Added sit class file for netcdf-4.1.3 --- packages/libs/netcdf/netcdf-4.1.3 | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 packages/libs/netcdf/netcdf-4.1.3 diff --git a/packages/libs/netcdf/netcdf-4.1.3 b/packages/libs/netcdf/netcdf-4.1.3 new file mode 100755 index 0000000..a1bfe9b --- /dev/null +++ b/packages/libs/netcdf/netcdf-4.1.3 @@ -0,0 +1,35 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2012 +# + +CATEGORY="libs" +PACKAGE="netcdf" +VERSION="4.1.3" +URL="http://www.open-mpi.org" +INSTALLER="Christoph Niethammer " + +# 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 +}