aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSixten Otto2010-01-20 21:29:15 -0700
committerAdam Vandenberg2010-04-23 20:18:08 -0700
commit8edaae3d1656c540bbb2f1058ca3c2a4071e01dc (patch)
tree6e1da3072d4df3372c1e78202c8e303b487eb168 /Library
parent60174336862730befcff933a629ae90f6364e4b8 (diff)
downloadhomebrew-8edaae3d1656c540bbb2f1058ca3c2a4071e01dc.tar.bz2
Mednafen 0.8.Drc1
A portable multi-system emulator with many advanced features. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Tweaked slighty.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mednafen.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/mednafen.rb b/Library/Formula/mednafen.rb
new file mode 100644
index 000000000..74aebfc77
--- /dev/null
+++ b/Library/Formula/mednafen.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+class Mednafen <Formula
+ homepage 'http://mednafen.sourceforge.net/'
+ url 'http://forum.fobby.net/index.php?t=getfile&id=192'
+ md5 'f50882095931a44df828e1254ed1a461'
+ version '0.8.D-rc1'
+
+ depends_on 'pkg-config'
+ depends_on 'sdl'
+ depends_on 'sdl_net'
+ depends_on 'libcdio'
+ depends_on 'libsndfile'
+
+ def install
+ # someone with more C++ juice than me can undertake to patch the
+ # crasher in Blip_Synth<8, 1>::offset_resampled that happens with
+ # even minimal optimizations turned on (in LLVM or GCC 4.2)
+ ENV.no_optimization
+
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+end