Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (25 sloc) 0.65 kB
require 'formula'
class Mame < Formula
url 'svn://messdev.no-ip.org/mess', :revision => 15603
head 'svn://messdev.no-ip.org/mess'
homepage 'http://mamedev.org/'
version '146u3'
depends_on :x11
depends_on 'sdl'
def install
ENV['MACOSX_USE_LIBSDL'] = '1'
ENV['INCPATH'] = '-I./src/lib/util -I/usr/X11/include'
ENV['PTR64'] = if MacOS.prefer_64_bit? then '1' else '0' end
# Builds MAME
system 'make', 'TARGET=mame', 'SUBTARGET=mame'
bin.install 'mame64'
if MacOS.prefer_64_bit?
bin.install 'mame64' => 'mame'
else
bin.install 'mame'
end
end
def test
system "mame -h"
end
end
Jump to Line
Something went wrong with that request. Please try again.