Skip to content
Snippets Groups Projects
Commit a74bc936 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Merge pull request #953 from citibeth/150514-NetCDFCXX4

netcdf-cxx4: Update to latest released version 4.3.0
parents 53df9fbb 65ff89a0
No related branches found
No related tags found
No related merge requests found
...@@ -24,16 +24,21 @@ ...@@ -24,16 +24,21 @@
############################################################################## ##############################################################################
from spack import * from spack import *
class NetcdfCxx4(Package): class NetcdfCxx4(Package):
"""C++ interface for NetCDF4""" """C++ interface for NetCDF4"""
homepage = "http://www.unidata.ucar.edu/software/netcdf" homepage = "http://www.unidata.ucar.edu/software/netcdf"
url = "http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-cxx4-4.2.tar.gz" url = "https://www.github.com/unidata/netcdf-cxx4/tarball/v4.3.0"
version('4.2', 'd019853802092cf686254aaba165fc81') version('4.3.0', '0dde8b9763eecdafbd69d076e687337e')
version('4.2.1', 'd019853802092cf686254aaba165fc81')
depends_on('netcdf') depends_on('netcdf')
depends_on("autoconf")
def install(self, spec, prefix): def install(self, spec, prefix):
# Rebuild to prevent problems of inconsistency in git repo
which('autoreconf')('-ivf')
configure('--prefix=%s' % prefix) configure('--prefix=%s' % prefix)
make() make()
make("install") make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment