homebrew-core/Formula/cgoban.rb
2018-08-23 09:36:40 +02:00

32 lines
1.1 KiB
Ruby

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"
bottle do
cellar :any_skip_relocation
sha256 "9784461d9756059fa03d3239c3497ee3087fcaa67bcf235bdec2bab543560fae" => :mojave
sha256 "14efcd85d7d9f5a15fe0693eb8ebd4b1ee8b49fb7604681be91c14964af0cee3" => :high_sierra
sha256 "4f88f760ce464806c607e9a29da5f701cc6d395f27110cd866579fdf8737931a" => :sierra
sha256 "f6f9b32dddefb3474dca91d55c0aecdacec7e3b7ccbb2cb8c9b151b41e16f4d0" => :el_capitan
sha256 "65b5a814e1b4e3c115c1fb873d8a740ee4c0b39eff33331336d9bfac073e1a27" => :yosemite
end
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