7a1c1152da
Upgrade sdl_gfx to version 2.0.23. Remove the `--enable-shared` because it is the default. Remove the `--enable-static=no` because it's okay to build. Remove the `--disable-mmx` because it no longer fails. Tested both native and universal on Lion against clang and llvm from XCode-4.3.3. Closes Homebrew/homebrew#13159. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
21 lines
596 B
Ruby
21 lines
596 B
Ruby
require 'formula'
|
|
|
|
class SdlGfx < Formula
|
|
homepage 'http://www.ferzkopp.net/joomla/content/view/19/14/'
|
|
url 'http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.23.tar.gz'
|
|
sha1 'aae60e7fed539f3f8a0a0bd6da3bbcf625642596'
|
|
|
|
depends_on 'sdl'
|
|
|
|
def options
|
|
[['--universal', 'Build universal binaries.']]
|
|
end
|
|
|
|
def install
|
|
ENV.universal_binary if ARGV.build_universal?
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-sdltest"
|
|
system "make install"
|
|
end
|
|
end
|