homebrew-core/Formula/ume.rb

32 lines
721 B
Ruby
Raw Normal View History

require 'formula'
class Ume < Formula
homepage 'http://mamedev.org/'
2014-07-23 21:00:37 +00:00
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