homebrew-core/Formula/protobuf.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

12 lines
No EOL
363 B
Ruby

require 'formula'
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