summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam Moody <moody20@llnl.gov>2015-09-21 16:19:50 -0700
committerAdam Moody <moody20@llnl.gov>2015-09-21 16:19:50 -0700
commite4e22ed17ec92a7be2895070e1d720ba4afb3dcb (patch)
tree5885036e51d1a9164ebd7c15398617821ba5debf /var
parentc5c9ada7b0efd9cec5cf55c4cf71d76b186513ff (diff)
downloadspack-e4e22ed17ec92a7be2895070e1d720ba4afb3dcb.tar.gz
spack-e4e22ed17ec92a7be2895070e1d720ba4afb3dcb.tar.bz2
spack-e4e22ed17ec92a7be2895070e1d720ba4afb3dcb.tar.xz
spack-e4e22ed17ec92a7be2895070e1d720ba4afb3dcb.zip
add protobuf package
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/protobuf/package.py16
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")