diff options
| author | Alex Morega | 2010-08-14 11:51:03 +0300 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-24 10:35:51 -0700 |
| commit | 8debdb3057a31bdb5b612fd307b5bf3358e311a2 (patch) | |
| tree | 3eebaefcb444b6fd8eee0176e2139db848afb0b6 /Library | |
| parent | 9779ff51851f1b1621781edbfc537a5124d849f8 (diff) | |
| download | homebrew-8debdb3057a31bdb5b612fd307b5bf3358e311a2.tar.bz2 | |
new formula - OpenTTD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/openttd.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/openttd.rb b/Library/Formula/openttd.rb new file mode 100644 index 000000000..a64032717 --- /dev/null +++ b/Library/Formula/openttd.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Openttd <Formula + url 'http://binaries.openttd.org/releases/1.0.3/openttd-1.0.3-source.tar.bz2' + homepage 'http://www.openttd.org/' + md5 'cff60c624913a491ed3c91474e845722' + + depends_on 'libpng' + depends_on 'lzo' + + 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 |
