summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-09-03 14:16:50 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2019-09-03 16:16:50 -0500
commitc14b7379f93d2253626df5e03e840aca72817ea2 (patch)
tree295e7c7b15b326c2ce9c93ab119b51b238e16e7c
parentd79f85d763ee3601f54e8b48d56a779d28dd2947 (diff)
downloadspack-c14b7379f93d2253626df5e03e840aca72817ea2.tar.gz
spack-c14b7379f93d2253626df5e03e840aca72817ea2.tar.bz2
spack-c14b7379f93d2253626df5e03e840aca72817ea2.tar.xz
spack-c14b7379f93d2253626df5e03e840aca72817ea2.zip
new package: protobuf-c (#12634)
* new package: protobuf-c * Update var/spack/repos/builtin/packages/protobuf-c/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/protobuf-c/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/protobuf-c/package.py b/var/spack/repos/builtin/packages/protobuf-c/package.py
new file mode 100644
index 0000000000..87a1df2dab
--- /dev/null
+++ b/var/spack/repos/builtin/packages/protobuf-c/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class ProtobufC(AutotoolsPackage):
+ """
+ Protocol Buffers implementation in C
+ """
+
+ homepage = "https://github.com/protobuf-c/protobuf-c"
+ url = "https://github.com/protobuf-c/protobuf-c/releases/download/v1.3.2/protobuf-c-1.3.2.tar.gz"
+
+ version('1.3.2', sha256='53f251f14c597bdb087aecf0b63630f434d73f5a10fc1ac545073597535b9e74')
+
+ depends_on('protobuf')
+ depends_on('pkgconfig', type='build')