ScummVM 1.4.1

This commit is contained in:
Adam Vandenberg 2012-02-09 22:59:39 -08:00
parent 9bc20b6651
commit e003d9759e

View file

@ -1,17 +1,9 @@
require 'formula'
class Scummvm < Formula
url 'http://downloads.sourceforge.net/project/scummvm/scummvm/1.1.1/scummvm-1.1.1.tar.bz2'
url 'http://downloads.sourceforge.net/project/scummvm/scummvm/1.4.1/scummvm-1.4.1.tar.bz2'
homepage 'http://www.scummvm.org/'
md5 'ed9098a78022d07fa1482f14325e3ab8'
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
md5 'aa094c2224aad22d5340a1d2d919c883'
depends_on 'sdl'
depends_on 'flac' => :recommended
@ -20,7 +12,9 @@ prefer to use theirs. If so type `brew home scummvm' to visit their site.
depends_on 'fluid-synth' => :optional
def install
ENV.libpng
system "./configure", "--prefix=#{prefix}", "--disable-debug"
system "make"
system "make install"
(share+'pixmaps').rmtree
end