From 334516a02f49f55e79213dc8dfb1795ca74d75f7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 21 Sep 2013 20:47:41 -0500 Subject: sdl: use spec deps --- Library/Formula/sdl.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb index f7af54d78..aa6621ca2 100644 --- a/Library/Formula/sdl.rb +++ b/Library/Formula/sdl.rb @@ -2,18 +2,19 @@ require 'formula' class Sdl < Formula homepage 'http://www.libsdl.org/' - head 'http://hg.libsdl.org/SDL', :branch => 'SDL-1.2', :using => :hg url 'http://www.libsdl.org/release/SDL-1.2.15.tar.gz' sha1 '0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c' - option 'with-x11-driver', 'Compile with support for X11 video driver' - option :universal + head do + url 'http://hg.libsdl.org/SDL', :branch => 'SDL-1.2', :using => :hg - if build.head? depends_on :automake depends_on :libtool end + option 'with-x11-driver', 'Compile with support for X11 video driver' + option :universal + depends_on :x11 if build.with? 'x11-driver' def patches -- cgit v1.2.3