aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-09-21 20:47:41 -0500
committerJack Nagel2013-09-21 21:05:02 -0500
commit334516a02f49f55e79213dc8dfb1795ca74d75f7 (patch)
tree6248e560eafacee7c153cc0759539fa12c6788b4 /Library/Formula
parent165163c8c385784025a03a4fe1fb8f43bd5f1132 (diff)
downloadhomebrew-334516a02f49f55e79213dc8dfb1795ca74d75f7.tar.bz2
sdl: use spec deps
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sdl.rb9
1 files changed, 5 insertions, 4 deletions
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