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
374 B
Ruby
12 lines
374 B
Ruby
require 'formula'
|
|
|
|
class GnuGo <Formula
|
|
@url='http://ftp.gnu.org/gnu/gnugo/gnugo-3.8.tar.gz'
|
|
@homepage='http://www.gnu.org/software/gnugo/gnugo.html'
|
|
@md5='6db0a528df58876d2b0ef1659c374a9a'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-readline=/usr/lib"
|
|
system "make install"
|
|
end
|
|
end
|