aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2009-08-29 20:46:29 -0700
committerMax Howell2009-08-31 01:46:19 +0100
commitbc13d01c720c9024eab005df62e26f6ff06665ea (patch)
tree6f565bf531bc9e3d269a24c3dee3f1ccc8d73592 /Library/Formula
parent3e33ddb9e483c4ccc98d983bf451f277aaad505d (diff)
downloadhomebrew-bc13d01c720c9024eab005df62e26f6ff06665ea.tar.bz2
Formula for SDL.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sdl.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb
new file mode 100644
index 000000000..278594798
--- /dev/null
+++ b/Library/Formula/sdl.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Sdl <Formula
+ @url='http://www.libsdl.org/release/SDL-1.2.13.tar.gz'
+ @homepage='http://www.libsdl.org/index.php'
+ @md5='c6660feea2a6834de10bc71b2f8e4d88'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end