summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")