homebrew-core/Formula/uggconv.rb

25 lines
807 B
Ruby
Raw Normal View History

2017-02-06 10:27:02 +00:00
class Uggconv < Formula
desc "Universal Game Genie code convertor"
homepage "http://wyrmcorp.com/software/uggconv/index.shtml"
url "http://wyrmcorp.com/software/uggconv/uggconv-1.0.tar.gz"
sha256 "9a215429bc692b38d88d11f38ec40f43713576193558cd8ca6c239541b1dd7b8"
2017-02-08 08:28:19 +00:00
bottle do
cellar :any_skip_relocation
sha256 "a22594f94bf7baa1908bd1225f52f1db3dd01daa17f99038ecfbd60e22d12b5d" => :sierra
sha256 "5ab8b271f2ccc17e5229921f01b92ff7b0c297908902c83d24612bb47592af3c" => :el_capitan
sha256 "a40a8a1adee9286acedba6e8eedf20bc53e4bf291fc73478bd3ba0314792c6ce" => :yosemite
end
2017-02-06 10:27:02 +00:00
def install
system "make"
bin.install "uggconv"
man1.install "uggconv.1"
end
test do
assert_equal "7E00CE:03 = D7DA-FE86\n",
shell_output("#{bin}/uggconv -s 7E00CE:03")
end
end