homebrew-core/Formula/sdl_gfx.rb
2012-08-01 00:31:39 -05:00

21 lines
577 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-dependency-tracking",
"--prefix=#{prefix}",
"--disable-sdltest"
system "make install"
end
end