mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 12:29:40 -05:00
Fixes #10559. Also added missing deps for osm2pgsql. Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
42 lines
1.1 KiB
Ruby
42 lines
1.1 KiB
Ruby
require 'formula'
|
|
|
|
class Exult < Formula
|
|
url 'https://downloads.sourceforge.net/project/exult/exult-all-versions/1.4.9rc1/exult-1.4.9rc1.tar.gz'
|
|
md5 'c17a48cc0377aa67264aaaf441cb1bb2'
|
|
homepage 'http://exult.sourceforge.net/'
|
|
|
|
head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk'
|
|
|
|
depends_on 'sdl'
|
|
depends_on 'sdl_mixer'
|
|
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"
|
|
|
|
system "./autogen.sh"
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-sdltest"
|
|
|
|
system "make"
|
|
system "make bundle"
|
|
prefix.install "Exult.app"
|
|
end
|
|
|
|
def caveats; <<-EOS.undent
|
|
Cocoa app installed to:
|
|
#{prefix}
|
|
|
|
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
|