aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/protobuf.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2009-09-21 12:24:04 -0700
committerAdam Vandenberg2009-09-21 13:06:21 -0700
commit732bb4e7b69f9baf437c47f118ab2992281e6021 (patch)
tree75078d4efc78f342891a7faed988257162b618c0 /Library/Formula/protobuf.rb
parent2bfef1dbc2555b6149c0a7fe74b438af0321cffb (diff)
downloadhomebrew-732bb4e7b69f9baf437c47f118ab2992281e6021.tar.bz2
Formula for Google Protocol Buffers
Diffstat (limited to 'Library/Formula/protobuf.rb')
-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