homebrew-core/Formula/sdl_gfx.rb
2015-06-05 14:47:57 +01:00

28 lines
837 B
Ruby

require 'formula'
class SdlGfx < Formula
desc "Graphics drawing primitives and other support functions"
homepage 'http://www.ferzkopp.net/joomla/content/view/19/14/'
url 'http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.24.tar.gz'
sha1 '34e8963188e4845557468a496066a8fa60d5f563'
bottle do
cellar :any
revision 1
sha1 "6c70b7a9048bc066ecbb3c037c3a1a0fe2d3166a" => :yosemite
sha1 "364758460ad6f2cfc83c58d5fc8e793688cd9862" => :mavericks
sha1 "342e8a64a908f0e39ba6a1d8318ed111679067a1" => :mountain_lion
end
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