diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-09-23 00:31:26 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-09-23 00:31:26 -0700 |
commit | 5d6baacc563318695e06c5393c8110b8431bf1d4 (patch) | |
tree | a85b71e0987979a277aeaa1a0177baae2782db59 | |
parent | 46cf0a23d9c036e7236d118c728ee3cc04717e8d (diff) | |
parent | e4e22ed17ec92a7be2895070e1d720ba4afb3dcb (diff) | |
download | spack-5d6baacc563318695e06c5393c8110b8431bf1d4.tar.gz spack-5d6baacc563318695e06c5393c8110b8431bf1d4.tar.bz2 spack-5d6baacc563318695e06c5393c8110b8431bf1d4.tar.xz spack-5d6baacc563318695e06c5393c8110b8431bf1d4.zip |
Merge pull request #111 from scalability-llnl/features/protobuf
add protobuf package
-rw-r--r-- | var/spack/packages/protobuf/package.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/packages/protobuf/package.py b/var/spack/packages/protobuf/package.py new file mode 100644 index 0000000000..34085c7ce9 --- /dev/null +++ b/var/spack/packages/protobuf/package.py @@ -0,0 +1,16 @@ +import os +from spack import * + +class Protobuf(Package): + """Google's data interchange format.""" + + homepage = "https://developers.google.com/protocol-buffers" + url = "https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2" + + version('2.5.0', 'a72001a9067a4c2c4e0e836d0f92ece4') + + def install(self, spec, prefix): + configure("--prefix=" + prefix) + make() + make("check") + make("install") |