homebrew-core/Formula/nettoe.rb

24 lines
853 B
Ruby
Raw Normal View History

2017-02-06 10:26:57 +00:00
class Nettoe < Formula
desc "Tic Tac Toe-like game for the console"
2017-02-13 23:55:35 +00:00
homepage "https://nettoe.sourceforge.io/"
2017-02-06 10:26:57 +00:00
url "https://downloads.sourceforge.net/project/nettoe/nettoe/1.5.1/nettoe-1.5.1.tar.gz"
sha256 "dbc2c08e7e0f7e60236954ee19a165a350ab3e0bcbbe085ecd687f39253881cb"
bottle do
cellar :any_skip_relocation
2017-02-08 08:28:14 +00:00
sha256 "49ad705043bdd9f1ab860d877d3ffba584bef5ddbd4c03f6fe43adc49b9c1e5d" => :sierra
sha256 "c8208683e4730233147e6c7153a469cdc1f477aacde0559937f0da93c8ad0345" => :el_capitan
sha256 "78038d253cd382f5f3a6b3b12c7776828c44c1572f0569bec862763aa5141c2a" => :yosemite
2017-02-06 10:26:57 +00:00
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match /netToe #{version} /, shell_output("#{bin}/nettoe -v")
end
end