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:
Douglas Creager 2010-03-06 14:12:57 -05:00 committed by David Höppner
parent 0886bc2247
commit 72bf8f72d7

14
Formula/protobuf-c.rb Normal file
View 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