summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-28 18:03:36 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-28 18:03:36 -0700
commit02879d94ff7fdc02b870a22fe31614834934801f (patch)
tree5705de7e2baa589ba6a3dc5ae04057e36bce83cd
parentdd61795bb845b9ab841631266ac52c1d92ae1be4 (diff)
parent9c894f59354bafd9cd45e874be599dc8535e426e (diff)
downloadspack-02879d94ff7fdc02b870a22fe31614834934801f.tar.gz
spack-02879d94ff7fdc02b870a22fe31614834934801f.tar.bz2
spack-02879d94ff7fdc02b870a22fe31614834934801f.tar.xz
spack-02879d94ff7fdc02b870a22fe31614834934801f.zip
Merge pull request #673 from davydden/netcdf_cxx
new package: netcdf-cxx
-rw-r--r--var/spack/repos/builtin/packages/netcdf-cxx/package.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf-cxx/package.py b/var/spack/repos/builtin/packages/netcdf-cxx/package.py
new file mode 100644
index 0000000000..5334dfb853
--- /dev/null
+++ b/var/spack/repos/builtin/packages/netcdf-cxx/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+class NetcdfCxx(Package):
+ """C++ compatibility bindings for NetCDF"""
+ homepage = "http://www.unidata.ucar.edu/software/netcdf"
+ url = "http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-cxx-4.2.tar.gz"
+
+ version('4.2', 'd32b20c00f144ae6565d9e98d9f6204c')
+
+ depends_on('netcdf')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+ make()
+ make("install")