diff options
| author | Douglas Creager | 2010-03-06 14:12:57 -0500 |
|---|---|---|
| committer | David Höppner | 2010-03-07 19:31:08 +0100 |
| commit | f0f58e7d899dc8409d21fa3496e830b443df26d5 (patch) | |
| tree | ea928ebf8d15682db1b07f1930b5c04cd7a998db /Library | |
| parent | 23213cca31f941304bb7d235f948100a1faa21a2 (diff) | |
| download | homebrew-f0f58e7d899dc8409d21fa3496e830b443df26d5.tar.bz2 | |
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>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/protobuf-c.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/protobuf-c.rb b/Library/Formula/protobuf-c.rb new file mode 100644 index 000000000..1fc3ff998 --- /dev/null +++ b/Library/Formula/protobuf-c.rb @@ -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 |
