homebrew-core/Formula/sdl_gfx.rb
Jack Nagel 1fda6c4310 sdl_gfx: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12 13:01:04 -05:00

19 lines
521 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'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-sdltest"
system "make install"
end
end