aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDaniel Walmsley2012-12-27 12:24:41 -0800
committerMisty De Meo2012-12-27 23:28:18 -0400
commite4d267315e584f8185f7e074b58e08a1cf2fed8f (patch)
treee71f628babb105d05e4b30f89e13e544a8e5e77d /Library
parent2c2caf7cf01bc648d88133dc63fa536846693738 (diff)
downloadhomebrew-e4d267315e584f8185f7e074b58e08a1cf2fed8f.tar.bz2
ume 0.147
Closes #16771. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ume.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/ume.rb b/Library/Formula/ume.rb
new file mode 100644
index 000000000..9aa4a68b7
--- /dev/null
+++ b/Library/Formula/ume.rb
@@ -0,0 +1,26 @@
+require 'formula'
+
+class Ume < Formula
+ homepage 'http://mamedev.org/'
+ url 'svn://dspnet.fr/mame/trunk', :revision => 17961
+ version '0.147'
+
+ head 'svn://dspnet.fr/mame/trunk'
+
+ depends_on :x11
+ depends_on 'sdl'
+
+ def install
+ ENV['MACOSX_USE_LIBSDL'] = '1'
+ ENV['INCPATH'] = "-I./src/lib/util -I#{MacOS::X11.include}"
+ ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0')
+
+ system 'make', 'TARGET=ume'
+
+ if MacOS.prefer_64_bit?
+ bin.install 'ume64' => 'ume'
+ else
+ bin.install 'ume'
+ end
+ end
+end