aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul O'Neil2010-10-03 15:24:23 -0400
committerAdam Vandenberg2010-10-04 12:34:03 -0700
commit4218da2ab5187bd23e4815eb7969ec748c7cbac6 (patch)
treeabcb122ec95b64aaf4c4da87bd11fcf8cdb9c10a
parent66b81ab1d51a84ba255b2f6d5b5a7367cc4e23bb (diff)
downloadhomebrew-4218da2ab5187bd23e4815eb7969ec748c7cbac6.tar.bz2
Added a HEAD version of SDL for SDL 1.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/sdl.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb
index f6f68ad70..477ef714e 100644
--- a/Library/Formula/sdl.rb
+++ b/Library/Formula/sdl.rb
@@ -2,6 +2,7 @@ require 'formula'
class Sdl <Formula
url 'http://www.libsdl.org/release/SDL-1.2.14.tar.gz'
+ head 'http://hg.libsdl.org/SDL', :using => :hg
homepage 'http://www.libsdl.org/'
md5 'e52086d1b508fa0b76c52ee30b55bec4'
@@ -16,6 +17,7 @@ class Sdl <Formula
fails_with_llvm
Sdl.use_homebrew_prefix %w[sdl.pc.in sdl-config.in]
+ system "./autogen.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}", "--disable-nasm"
system "make install"