homebrew-core/Formula/xshogi.rb

28 lines
1.1 KiB
Ruby

class Xshogi < Formula
desc "X11 interface for GNU Shogi"
homepage "https://www.gnu.org/software/gnushogi/"
url "https://ftp.gnu.org/gnu/gnushogi/xshogi-1.4.2.tar.gz"
mirror "https://ftpmirror.gnu.org/gnushogi/xshogi-1.4.2.tar.gz"
sha256 "2e2f1145e3317143615a764411178f538bd54945646b14fc2264aaeaa105dab6"
license "GPL-3.0"
bottle do
cellar :any_skip_relocation
sha256 "09ccace2697472b65f34ca8ae2e770dd2cab177936541fbb7229ccbbcb5dfd04" => :catalina
sha256 "dab2f19b43434783e84f86e0bc3dd293e49bfd8a036117be63225f82c0e92692" => :mojave
sha256 "c78625da6cc10502df9274bff0680a1af6316c125b6ce482ab9d79ad745e6e55" => :high_sierra
sha256 "4877493db0e9536a1282b9aa79d3cd38357a4b8e767533cfb6c4dce941faed23" => :sierra
sha256 "a4bfc78e6d2f10e6bf4c813a2e847963d6dd6d939a522934717ff6d35acafcc9" => :el_capitan
sha256 "62c11f796225f439e5698ad87abafbfe55d2184d895b86fd13abe3dc924b2030" => :yosemite
end
depends_on "gnu-shogi"
depends_on :x11
def install
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking"
system "make", "install"
end
end