diff options
Diffstat (limited to 'homebrew/mame/.make.sh-auto')
-rw-r--r-- | homebrew/mame/.make.sh-auto | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/mame/.make.sh-auto b/homebrew/mame/.make.sh-auto new file mode 100644 index 000000000..808e62df0 --- /dev/null +++ b/homebrew/mame/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +inreplace "scripts/src/osd/sdl.lua", "--static", "" +ENV.append "CPPFLAGS", "-I#{Formula["lua"].opt_include}/lua" +make USE_LIBSDL=1 USE_SYSTEM_LIB_EXPAT=1 USE_SYSTEM_LIB_ZLIB=1 USE_SYSTEM_LIB_JPEG=1 USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_LUA=1 USE_SYSTEM_LIB_SQLITE3=1 USE_SYSTEM_LIB_PORTMIDI=1 USE_SYSTEM_LIB_PORTAUDIO=1 USE_SYSTEM_LIB_UTF8PROC=1 +bin.install "mame64" => "mame" +cd "docs" +make text +doc.install Dir["build/text/*"] +make man +man1.install "build/man/MAME.1" => "mame.1" |