summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/protobuf/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py
index 6faa0376ad..34d167b28c 100644
--- a/var/spack/repos/builtin/packages/protobuf/package.py
+++ b/var/spack/repos/builtin/packages/protobuf/package.py
@@ -31,4 +31,10 @@ class Protobuf(AutotoolsPackage):
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('3.0.2', '845b39e4b7681a2ddfd8c7f528299fbb', url='https://github.com/google/protobuf/archive/v3.0.2.tar.gz')
version('2.5.0', 'a72001a9067a4c2c4e0e836d0f92ece4')
+
+ depends_on('m4', when='@3.0.2:')
+ depends_on('autoconf', when='@3.0.2:')
+ depends_on('automake', when='@3.0.2:')
+ depends_on('libtool', when='@3.0.2:')