diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-01-11 13:47:14 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-01-11 13:47:14 -0800 |
commit | 674dd276492b37604017614637c928098e6714de (patch) | |
tree | fe50c5ff78ec4afd07e8c07f10c6a8a37335a453 | |
parent | 7ad3e2b56bca4aca3a1ed5a157380070ea17514f (diff) | |
parent | 6a51b1d5705096264a1280a35185fd7293aafde3 (diff) | |
download | spack-674dd276492b37604017614637c928098e6714de.tar.gz spack-674dd276492b37604017614637c928098e6714de.tar.bz2 spack-674dd276492b37604017614637c928098e6714de.tar.xz spack-674dd276492b37604017614637c928098e6714de.zip |
Merge pull request #333 from adamjstewart/features/szip
Add SZip package
-rw-r--r-- | var/spack/packages/szip/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/packages/szip/package.py b/var/spack/packages/szip/package.py new file mode 100644 index 0000000000..c48c5b431e --- /dev/null +++ b/var/spack/packages/szip/package.py @@ -0,0 +1,21 @@ +from spack import * + +class Szip(Package): + """Szip is an implementation of the extended-Rice lossless compression algorithm. + It provides lossless compression of scientific data, and is provided with HDF + software products.""" + + homepage = "https://www.hdfgroup.org/doc_resource/SZIP/" + url = "http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz" + + version('2.1', '902f831bcefb69c6b635374424acbead') + + def install(self, spec, prefix): + configure('--prefix=%s' % prefix, + '--enable-production', + '--enable-shared', + '--enable-static', + '--enable-encoding') + + make() + make("install") |