20 lines
521 B
Ruby
20 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.24.tar.gz'
|
|
sha1 '34e8963188e4845557468a496066a8fa60d5f563'
|
|
|
|
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
|