29 lines
1.1 KiB
Ruby
29 lines
1.1 KiB
Ruby
class Cheops < Formula
|
|
desc "CHEss OPponent Simulator"
|
|
homepage "https://logological.org/cheops"
|
|
url "https://files.nothingisreal.com/software/cheops/cheops-1.3.tar.bz2"
|
|
mirror "https://github.com/logological/cheops/releases/download/1.3/cheops-1.3.tar.bz2"
|
|
sha256 "a3ce2e94f73068159827a1ec93703b5075c7edfdf5b0c1aba4d71b3e43fe984e"
|
|
license "GPL-3.0"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "df2ae1cf5f9b1b9ec0dc161da4d20fe4b24a5155c87e2c2466cbc26db9fce951" => :catalina
|
|
sha256 "27251202d9707a3b1687094971a644aa5d34c163bb62bea0eec85373b58922c0" => :mojave
|
|
sha256 "a7028a380957e407304abae6f3f8d056c6363681e91792e19bbf1cde19aa44cf" => :high_sierra
|
|
sha256 "f6087558b906474548d121bf3e745a7291dbc307d0c9ef16b3b6edd92d9dc830" => :sierra
|
|
sha256 "3ed8f3d4920c6c44b4d25f16402564db5639acb1e3f104329f244cd52051a9f6" => :el_capitan
|
|
sha256 "de719231c43b1494c0a77fe0ef97868399bd67e3c3386fecfd6564f26f4acbdf" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/cheops", "--version"
|
|
end
|
|
end
|