forked from ziz/homebrew-games
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exult.rb
38 lines (30 loc) · 1.04 KB
/
exult.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
require 'formula'
class Exult < Formula
url 'https://downloads.sourceforge.net/project/exult/exult-all-versions/1.4.9rc1/exult-1.4.9rc1.tar.gz'
sha1 '259f778d6b8b5e9c9466e2f4967b6352435b6792'
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'
depends_on "automake" => :build
depends_on "libtool" => :build
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