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.
13 lines
315 B
Ruby
13 lines
315 B
Ruby
require 'formula'
|
|
|
|
class Mg <Formula
|
|
url 'http://www.dds.nl/~han/software/mg/mg-20090107.tar.gz'
|
|
homepage 'http://www.han.dds.nl/software/mg'
|
|
md5 'f25a139da44c3a2f760ffec531bd996e'
|
|
|
|
def install
|
|
system "./configure"
|
|
system "make prefix=#{prefix}"
|
|
system "make install prefix=#{prefix}"
|
|
end
|
|
end
|