protobuf-c formula
This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++). Signed-off-by: David Höppner <0xffea@gmail.com>
This commit is contained in:
parent
0886bc2247
commit
72bf8f72d7
1 changed files with 14 additions and 0 deletions
14
Formula/protobuf-c.rb
Normal file
14
Formula/protobuf-c.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'formula'
|
||||
|
||||
class ProtobufC <Formula
|
||||
url 'http://protobuf-c.googlecode.com/files/protobuf-c-0.12.tar.gz'
|
||||
homepage 'http://code.google.com/p/protobuf-c/'
|
||||
md5 'fefe81642f1e5565eb8a661e597b5bf7'
|
||||
|
||||
depends_on 'protobuf'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue