2017-02-06 10:26:52 +00:00
|
|
|
class Fuego < Formula
|
|
|
|
desc "Collection of C++ libraries for the game of Go"
|
2017-02-13 23:55:23 +00:00
|
|
|
homepage "https://fuego.sourceforge.io/"
|
2017-03-11 14:09:07 +00:00
|
|
|
if MacOS.version >= :sierra
|
|
|
|
url "https://svn.code.sf.net/p/fuego/code/trunk", :revision => 1981
|
|
|
|
else
|
|
|
|
url "http://svn.code.sf.net/p/fuego/code/trunk", :revision => 1981
|
|
|
|
end
|
2017-02-06 10:26:52 +00:00
|
|
|
version "1.1.SVN"
|
|
|
|
|
2017-03-11 14:02:31 +00:00
|
|
|
head "https://svn.code.sf.net/p/fuego/code/trunk"
|
2017-02-06 10:26:52 +00:00
|
|
|
|
|
|
|
bottle do
|
2017-09-23 22:31:48 +00:00
|
|
|
sha256 "72603b0cc76547a838cadabc8ddd958bd642493364ab3d35eb7f918347c3c4e1" => :high_sierra
|
2017-02-08 08:28:10 +00:00
|
|
|
sha256 "0d3274bc3c26894df8b01725486b3c8a66a33dc47e057974bb56b96b64165ab0" => :sierra
|
|
|
|
sha256 "0f4eb59a935afffcd4a518d6d04751566ea712ec49906e1bdeea0be194883cde" => :el_capitan
|
|
|
|
sha256 "1089ca13694e6774aaeef91ae23e2633b94420c154a9b94e1a45ae281bda3bee" => :yosemite
|
2017-02-06 10:26:52 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "boost"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "autoreconf", "-fvi"
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-boost=#{Formula["boost"].opt_prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|