homebrew-core/Formula/protobuf.rb
2010-01-30 19:16:52 -08:00

16 lines
No EOL
462 B
Ruby

require 'formula'
class Protobuf <Formula
url 'http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.bz2'
sha1 'db0fbdc58be22a676335a37787178a4dfddf93c6'
homepage 'http://code.google.com/p/protobuf/'
def install
ENV.gcc_4_2
system "./configure", "--prefix=#{prefix}", "--disable-debug",
"--disable-dependency-tracking",
"--with-zlib"
system "make"
system "make install"
end
end