2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-30 03:58:38 +00:00
|
|
|
|
|
|
|
class Scummvm <Formula
|
2009-09-21 19:50:57 +00:00
|
|
|
@url='http://downloads.sourceforge.net/project/scummvm/scummvm/1.0.0rc1/scummvm-1.0.0rc1.tar.bz2'
|
2009-08-30 03:58:38 +00:00
|
|
|
@homepage='http://www.scummvm.org/'
|
2009-09-21 19:50:57 +00:00
|
|
|
@md5='f3fabedc7ff2424d6a4bc678229b22ce'
|
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
|
2009-08-30 03:58:38 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure --prefix='#{prefix}' --disable-debug"
|
|
|
|
system "make install"
|
|
|
|
(share+'pixmaps').rmtree
|
|
|
|
end
|
|
|
|
end
|