aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/protobuf-c.rb14
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