aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/protobuf.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/protobuf.rb b/Library/Formula/protobuf.rb
new file mode 100644
index 000000000..dd61940ec
--- /dev/null
+++ b/Library/Formula/protobuf.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Protobuf <Formula
+ @url='http://protobuf.googlecode.com/files/protobuf-2.2.0.tar.bz2'
+ @homepage='http://code.google.com/p/protobuf/'
+ @sha1='a0aff9df8dc93c5337553d586bbe726808d342a6'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end \ No newline at end of file