blob: 50aa7f71e009ecf094d6e93a1a5bb3c41430e13f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
require 'formula'
class Openttd < Formula
url 'http://us.binaries.openttd.org/binaries/releases/1.1.0/openttd-1.1.0-source.tar.gz'
homepage 'http://www.openttd.org/'
md5 'd5ca3357e5c7f995aa43414ff4d93cfb'
depends_on 'lzo'
depends_on 'xz'
def install
system "./configure", "--without-application-bundle", "--prefix-dir=#{prefix}"
system "make install"
bin.install "bin/openttd"
end
def caveats; <<-EOS.undent
Note: This does not install any art assets. You will be prompted
on first run to download an asset set.
Having an original TTD CD will help.
EOS
end
end
|