Skip to content

Commit

Permalink
Merge pull request #953 from citibeth/150514-NetCDFCXX4
Browse files Browse the repository at this point in the history
netcdf-cxx4: Update to latest released version 4.3.0
  • Loading branch information
tgamblin committed May 16, 2016
2 parents 53df9fb + 65ff89a commit a74bc93
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions var/spack/repos/builtin/packages/netcdf-cxx4/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,21 @@
##############################################################################
from spack import *


class NetcdfCxx4(Package):
"""C++ interface for NetCDF4"""
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("autoconf")

def install(self, spec, prefix):
# Rebuild to prevent problems of inconsistency in git repo
which('autoreconf')('-ivf')
configure('--prefix=%s' % prefix)
make()
make("install")

0 comments on commit a74bc93

Please sign in to comment.