require 'formula' class Scummvm < Formula url 'http://downloads.sourceforge.net/project/scummvm/scummvm/1.4.1/scummvm-1.4.1.tar.bz2' homepage 'http://www.scummvm.org/' md5 'aa094c2224aad22d5340a1d2d919c883' depends_on 'sdl' depends_on 'flac' => :recommended depends_on 'libvorbis' => :recommended depends_on 'libogg' => :recommended depends_on 'fluid-synth' => :optional def install ENV.libpng system "./configure", "--prefix=#{prefix}", "--disable-debug" system "make" system "make install" (share+'pixmaps').rmtree end end