forked from ziz/homebrew-games
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadvancemame.rb
24 lines (20 loc) · 827 Bytes
/
advancemame.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Advancemame < Formula
desc "MAME with advanced video support"
homepage "http://www.advancemame.it/"
url "https://github.com/amadvance/advancemame/releases/download/advancemame-1.4/advancemame-1.4.tar.gz"
sha256 "525e0897cd41fe8d3ef563e59592da740ebe005eda0948515dca410d01624bcc"
bottle do
sha256 "63208837d31d054aa77903d6ec2fadbf7433192190492a3ede42dabe96ad80d2" => :yosemite
sha256 "16cde98601b01a2936f676119feaa2bd8244ad7c0f3075f69e907c07e2f448d0" => :mavericks
sha256 "9497d5d422cef467cefbc3a2731745fe204cdd28c36c68b7ff27e714670bbf85" => :mountain_lion
end
depends_on "sdl"
depends_on "freetype"
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install", "mandir=#{man}", "docdir=#{doc}"
end
test do
system "#{bin}/advmame", "--version"
end
end