2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-30 03:58:38 +00:00
|
|
|
|
|
|
|
class Scummvm <Formula
|
2010-08-29 16:14:57 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/scummvm/scummvm/1.1.1/scummvm-1.1.1.tar.bz2'
|
2009-11-18 16:57:04 +00:00
|
|
|
homepage 'http://www.scummvm.org/'
|
2010-08-29 16:14:57 +00:00
|
|
|
md5 'ed9098a78022d07fa1482f14325e3ab8'
|
2009-08-30 03:58:38 +00:00
|
|
|
|
|
|
|
def caveats
|
|
|
|
<<-EOS
|
|
|
|
ScummVM provide their own Mac build and as such that is the one they
|
|
|
|
officially support on this platform. Ours is more optimised, but you may
|
|
|
|
prefer to use theirs. If so type `brew home scummvm' to visit their site.
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'sdl'
|
|
|
|
depends_on 'flac' => :recommended
|
|
|
|
depends_on 'libvorbis' => :recommended
|
|
|
|
depends_on 'libogg' => :recommended
|
2010-08-29 16:14:57 +00:00
|
|
|
depends_on 'fluid-synth' => :optional
|
2009-08-30 03:58:38 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug"
|
2009-08-30 03:58:38 +00:00
|
|
|
system "make install"
|
|
|
|
(share+'pixmaps').rmtree
|
|
|
|
end
|
|
|
|
end
|