diff --git a/Formula/sdl_rtf.rb b/Formula/sdl_rtf.rb new file mode 100644 index 0000000000..2947d92af9 --- /dev/null +++ b/Formula/sdl_rtf.rb @@ -0,0 +1,19 @@ +require 'formula' + +class SdlRtf < Formula + homepage 'http://www.libsdl.org/projects/SDL_rtf/' + url 'http://www.libsdl.org/projects/SDL_rtf/release/SDL_rtf-0.1.0.tar.gz' + md5 'fe36733167b5c89f128414f32612121a' + + head 'http://hg.libsdl.org/SDL_rtf', :using => :hg + + depends_on 'sdl' + depends_on 'sdl_ttf' + + def install + # Sdl assumes X11 is present on UNIX + ENV.x11 + system "./configure", "--prefix=#{prefix}" + system "make install" + end +end