summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Fischer <rpf2116@columbia.edu>2016-04-23 15:15:53 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-23 12:15:53 -0700
commit248248c6b270e2c1707ea29e90de74813ea2debf (patch)
tree39ac4d735cb7c16061468f7e7c222dd08e7536db
parent4e062d86b4213595e74510f9b8d91382ed4e1041 (diff)
downloadspack-248248c6b270e2c1707ea29e90de74813ea2debf.tar.gz
spack-248248c6b270e2c1707ea29e90de74813ea2debf.tar.bz2
spack-248248c6b270e2c1707ea29e90de74813ea2debf.tar.xz
spack-248248c6b270e2c1707ea29e90de74813ea2debf.zip
Added package: NCView (#791)
* ncview: Added package * Removed FIXMEs
-rw-r--r--var/spack/repos/builtin/packages/ncview/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ncview/package.py b/var/spack/repos/builtin/packages/ncview/package.py
new file mode 100644
index 0000000000..1aa13e3f03
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ncview/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class Ncview(Package):
+ """Simple viewer for NetCDF files."""
+ homepage = "http://meteora.ucsd.edu/~pierce/ncview_home_page.html"
+ url = "ftp://cirrus.ucsd.edu/pub/ncview/ncview-2.1.7.tar.gz"
+
+ version('2.1.7', 'debd6ca61410aac3514e53122ab2ba07')
+
+ depends_on("netcdf")
+ depends_on("udunits2")
+
+ # OS Dependencies
+ # Ubuntu: apt-get install libxaw7-dev
+ # CentOS 7: yum install libXaw-devel
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+ make()
+ make("install")