Formula for Google Protocol Buffers

This commit is contained in:
Adam Vandenberg 2009-09-21 12:24:04 -07:00
parent 2dbfac4899
commit 795983964a

12
Formula/protobuf.rb Normal file
View file

@ -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