protobuf-swift: revision for protobuf

This commit is contained in:
ilovezfs 2017-04-28 23:25:57 -07:00
parent 0bebb934c5
commit 619ba3b296

View file

@ -3,6 +3,7 @@ class ProtobufSwift < Formula
homepage "https://github.com/alexeyxo/protobuf-swift"
url "https://github.com/alexeyxo/protobuf-swift/archive/3.0.13.tar.gz"
sha256 "79bd0604bf8a41120334db94c84c49f9f03c0796a0f985774bf361a659e474d1"
revision 1
bottle do
cellar :any
@ -17,6 +18,10 @@ class ProtobufSwift < Formula
depends_on "protobuf"
def install
system "protoc", "-Iplugin/compiler",
"plugin/compiler/google/protobuf/descriptor.proto",
"plugin/compiler/google/protobuf/swift-descriptor.proto",
"--cpp_out=plugin/compiler"
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make"