homebrew-core/Formula/sdl_gfx.rb

22 lines
577 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?
2012-07-26 02:51:20 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-sdltest"
system "make install"
end
end