Merge pull request #111 from scalability-llnl/features/protobuf

add protobuf package
This commit is contained in:
Todd Gamblin 2015-09-23 00:31:26 -07:00
commit 5d6baacc56

View file

@ -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")