2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-14 17:32:05 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GnuGo < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/gnugo/gnugo-3.8.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/gnugo/gnugo-3.8.tar.gz'
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://www.gnu.org/software/gnugo/gnugo.html'
|
|
|
|
md5 '6db0a528df58876d2b0ef1659c374a9a'
|
2009-09-14 17:32:05 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-readline=/usr/lib"
|
2009-09-14 17:32:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|