61b2307139
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.
12 lines
No EOL
363 B
Ruby
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 |