2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-03 01:05:52 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class SdlTtf < Formula
|
2009-10-03 01:05:52 +00:00
|
|
|
homepage 'http://www.libsdl.org/projects/SDL_ttf/'
|
2012-07-02 08:13:40 +00:00
|
|
|
url 'http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz'
|
|
|
|
sha1 '0ccf7c70e26b7801d83f4847766e09f09db15cc6'
|
2009-10-03 01:05:52 +00:00
|
|
|
|
2012-08-10 05:17:37 +00:00
|
|
|
option :universal
|
|
|
|
|
2009-10-03 01:05:52 +00:00
|
|
|
depends_on 'sdl'
|
2012-09-02 08:11:15 +00:00
|
|
|
depends_on :freetype
|
2009-10-03 01:05:52 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-10 05:17:37 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2009-10-03 01:05:52 +00:00
|
|
|
|
2012-07-26 02:51:20 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
2012-07-26 02:51:20 +00:00
|
|
|
"--disable-sdltest"
|
2009-10-03 01:05:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|