Update Exult and use vorbis.

master
Adam Vandenberg 2010-06-06 20:22:38 -07:00
parent 7716eeef96
commit 556fbdf470
1 changed files with 9 additions and 10 deletions

View File

@ -1,32 +1,31 @@
require 'formula'
# TODO we shouldn't be installing .apps if there is an option
class Exult <Formula
# Use a specific revision that is known to compile (on Snow Leopard too.)
head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk', :revision => '6128'
head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk',
:revision => '6317'
homepage 'http://exult.sourceforge.net/'
depends_on 'sdl'
depends_on 'sdl_mixer'
depends_on 'libvorbis'
aka 'ultima7'
def install
# Yes, really. Goddamnit.
inreplace "autogen.sh", "libtoolize", "glibtoolize"
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--disable-sdltest"
system "make"
system "make bundle"
prefix.install "Exult.app"
end
def caveats;
"Cocoa app installed to #{prefix}\n\n"\
"Note that this includes only the game engine; you will need to supply your own\n"\