diff options
| author | Jack Nagel | 2012-04-05 19:41:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-05 19:41:14 -0500 |
| commit | fede3f2b037c4da37d2fae9f48e25a5a5c96e86f (patch) | |
| tree | eb6fb24ac8df48e12774b84ef2b3364fa40deecb /Library/Formula | |
| parent | efe1824ea02a0f1b95999d4ff100adcbeb287d00 (diff) | |
| download | homebrew-fede3f2b037c4da37d2fae9f48e25a5a5c96e86f.tar.bz2 | |
Move xmoto to Homebrew-games
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xmoto.rb | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/Library/Formula/xmoto.rb b/Library/Formula/xmoto.rb deleted file mode 100644 index 628ba74f4..000000000 --- a/Library/Formula/xmoto.rb +++ /dev/null @@ -1,47 +0,0 @@ -require 'formula' - -class Xmoto < Formula - url 'http://download.tuxfamily.org/xmoto/xmoto/0.5.9/xmoto-0.5.9-src.tar.gz' - homepage 'http://xmoto.tuxfamily.org/' - sha1 '07757accce78151dc8873bef8270df0e56196772' - - depends_on 'libxml2' - depends_on 'gettext' - depends_on 'jpeg' - depends_on 'sdl' - depends_on 'sdl_mixer' - depends_on 'sdl_net' - depends_on 'sdl_ttf' - depends_on 'lua' - depends_on 'ode' - - # Fixes compiling against libpng on Lion. See: - # http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=783 - def patches - DATA - end - - def install - # The ENV.x11 picks up libpng and sets CFLAGS and LDFLAGS - ENV.x11 - system "./configure", "--prefix=#{prefix}", - "--disable-sdltest", - "--with-internal-xdg=1", - "--with-apple-opengl-framework" - system "make install" - end -end - - -__END__ -diff --git a/src/image/tim_png.cpp b/src/image/tim_png.cpp -index 75fd545..a1d1cf6 100644 ---- a/src/image/tim_png.cpp -+++ b/src/image/tim_png.cpp -@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - #include <stdio.h> - #include <string.h> -+#include <zlib.h> - #include "tim.h" - #include "png.h" |
