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.
16 lines
426 B
Ruby
16 lines
426 B
Ruby
require 'formula'
|
|
|
|
class Fondu <Formula
|
|
url 'http://fondu.sourceforge.net/fondu_src-060102.tgz'
|
|
md5 'e20861beacddc1ab392bef7813641bf8'
|
|
homepage 'http://fondu.sourceforge.net/'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make"
|
|
bin.install 'fondu'
|
|
bin.install 'ufond'
|
|
man1.install 'fondu.1'
|
|
man1.install 'ufond.1'
|
|
end
|
|
end
|