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.
14 lines
293 B
Ruby
14 lines
293 B
Ruby
require 'formula'
|
|
|
|
class Mrtg <Formula
|
|
url 'http://oss.oetiker.ch/mrtg/pub/mrtg-2.16.2.zip'
|
|
homepage 'http://oss.oetiker.ch/mrtg/'
|
|
md5 'c085b85d1f93f459cef9e889bf654fd5'
|
|
|
|
depends_on 'gd'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|