homebrew-core/Formula/cgoban.rb

32 lines
1 KiB
Ruby
Raw Normal View History

2017-02-06 10:26:50 +00:00
class Cgoban < Formula
desc "Go-related services"
homepage "http://www.igoweb.org/~wms/comp/cgoban/index.html"
url "http://www.igoweb.org/~wms/comp/cgoban/cgoban-1.9.12.tar.gz"
sha256 "b9e8b0d2f793fecbc26803d673de11d8cdc88af9d286a6d49b7523f8b4fa20e1"
2017-02-08 08:28:08 +00:00
bottle do
cellar :any_skip_relocation
2017-09-21 14:53:47 +00:00
sha256 "14efcd85d7d9f5a15fe0693eb8ebd4b1ee8b49fb7604681be91c14964af0cee3" => :high_sierra
2017-02-08 08:28:08 +00:00
sha256 "4f88f760ce464806c607e9a29da5f701cc6d395f27110cd866579fdf8737931a" => :sierra
sha256 "f6f9b32dddefb3474dca91d55c0aecdacec7e3b7ccbb2cb8c9b151b41e16f4d0" => :el_capitan
sha256 "65b5a814e1b4e3c115c1fb873d8a740ee4c0b39eff33331336d9bfac073e1a27" => :yosemite
end
2017-02-06 10:26:50 +00:00
depends_on :x11
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules"
bin.mkpath
man6.mkpath
system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man}"
end
test do
system "#{bin}/cgoban", "--version"
end
end