diff options
author | Adam Moody <moody20@llnl.gov> | 2014-07-31 21:40:48 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-08-04 07:54:05 -0700 |
commit | 3779c78c009fb7465bac25b4e59b5f710e3bd0da (patch) | |
tree | 5289a297cfa9d363ebb8a3b1952d583aabee6498 /var | |
parent | a27e178ac27edf78c9c306a25091d6d1c36316e1 (diff) | |
download | spack-3779c78c009fb7465bac25b4e59b5f710e3bd0da.tar.gz spack-3779c78c009fb7465bac25b4e59b5f710e3bd0da.tar.bz2 spack-3779c78c009fb7465bac25b4e59b5f710e3bd0da.tar.xz spack-3779c78c009fb7465bac25b4e59b5f710e3bd0da.zip |
adding libarchive
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/libarchive/package.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/packages/libarchive/package.py b/var/spack/packages/libarchive/package.py new file mode 100644 index 0000000000..88c6ce45ab --- /dev/null +++ b/var/spack/packages/libarchive/package.py @@ -0,0 +1,15 @@ +from spack import * + +class Libarchive(Package): + """libarchive: C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats.""" + homepage = "http://www.libarchive.org" + url = "http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz" + + version('3.1.2', 'efad5a503f66329bb9d2f4308b5de98a') + version('3.1.1', '1f3d883daf7161a0065e42a15bbf168f') + version('3.1.0', '095a287bb1fd687ab50c85955692bf3a') + + def install(self, spec, prefix): + configure("--prefix=%s" % prefix) + make() + make("install") |