homebrew-core/Formula/exult.rb

42 lines
1.1 KiB
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Exult < Formula
url 'https://downloads.sourceforge.net/project/exult/exult-all-versions/1.4.9rc1/exult-1.4.9rc1.tar.gz'
2011-10-02 03:29:43 +00:00
md5 'c17a48cc0377aa67264aaaf441cb1bb2'
homepage 'http://exult.sourceforge.net/'
2011-10-02 03:29:43 +00:00
head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk'
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'
if MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
inreplace "autogen.sh", "libtoolize", "glibtoolize"
2010-06-07 03:22:38 +00:00
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--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
2011-10-02 03:29:43 +00:00
def caveats; <<-EOS.undent
Cocoa app installed to:
#{prefix}
2011-10-02 03:29:43 +00:00
Note that this includes only the game engine; you will need to supply your own
own legal copy of the Ultima 7 game files. Try here (Amazon.com):
http://bit.ly/8JzovU
EOS
end
end