homebrew-core/Formula/exult.rb

36 lines
938 B
Ruby
Raw Normal View History

require 'formula'
class Exult <Formula
2010-06-07 03:22:38 +00:00
head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk',
:revision => '6317'
homepage 'http://exult.sourceforge.net/'
2010-06-07 03:22:38 +00:00
depends_on 'sdl'
depends_on 'sdl_mixer'
2010-06-07 03:22:38 +00:00
depends_on 'libvorbis'
aka 'ultima7'
2010-06-07 03:22:38 +00:00
def install
# Yes, really. Goddamnit.
inreplace "autogen.sh", "libtoolize", "glibtoolize"
2010-06-07 03:22:38 +00:00
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--disable-sdltest"
2010-06-07 03:22:38 +00:00
system "make"
system "make bundle"
prefix.install "Exult.app"
end
2010-06-07 03:22:38 +00:00
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"\
"own legal copy of the Ultima 7 game files. Try here (Amazon.com):\n\n"\
"http://bit.ly/8JzovU"
end
end