homebrew-core/Formula/sdl_gfx.rb

22 lines
596 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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