homebrew-core/Formula/advancemenu.rb

26 lines
895 B
Ruby
Raw Normal View History

class Advancemenu < Formula
desc "Frontend for AdvanceMAME/MESS"
homepage "http://www.advancemame.it/menu-readme.html"
url "https://github.com/amadvance/advancemame/releases/download/advancemenu-2.9/advancemenu-2.9.tar.gz"
sha256 "c7599da6ff715eb3ad9f7a55973a9aaac2f26740a4e12daf744cf08963d652c1"
bottle do
2017-02-08 08:28:07 +00:00
sha256 "875396a5eb77a17ee1cda679fc782d5fa15072a206331d15cb186e52bf4d5369" => :sierra
sha256 "5e4a2e320562c0d92c3d61049f097d0a7ee054b76bacc8dbf81095c2758bed6a" => :el_capitan
sha256 "543c8592f5f72c1407fac7e29a9bc298b2d5b15529d669b54338d60209409028" => :yosemite
end
depends_on "sdl"
2017-02-27 22:44:44 +00:00
conflicts_with "advancemame", :because => "both install `advmenu` binaries"
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install", "LDFLAGS=#{ENV.ldflags}", "mandir=#{man}"
end
test do
system bin/"advmenu", "--version"
end
end