blob: 3e6caa14352467b56b1be6e8447589eb9943085b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
require 'formula'
class Ume < Formula
homepage 'http://mamedev.org/'
url 'svn://dspnet.fr/mame/trunk', :revision => '31397'
version '0.154'
head 'svn://dspnet.fr/mame/trunk'
bottle do
cellar :any
sha1 "9355c003f65ff30d16dbdd304a340bcb5fb81b61" => :mavericks
sha1 "d88f548400574c40e2df081e50ec37c1381edd07" => :mountain_lion
sha1 "4a8c91568ef915b0cad541e7b8db71c3545808ef" => :lion
end
depends_on 'sdl'
def install
ENV['MACOSX_USE_LIBSDL'] = '1'
ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0')
system "make", "CC=#{ENV.cc}", "LD=#{ENV.cxx}", "TARGET=ume"
if MacOS.prefer_64_bit?
bin.install 'ume64' => 'ume'
else
bin.install 'ume'
end
end
end
|