aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sdl_sound.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-03-09 23:25:36 -0800
committerAdam Vandenberg2010-03-09 23:35:12 -0800
commitd1f68f672da2a2ff6b33000b490791e4fc69c8c0 (patch)
tree920bbbba189c90784d5a0ca567891449759db2b6 /Library/Formula/sdl_sound.rb
parenta1615eacaf71362dd360b0f211b544422e72c233 (diff)
downloadhomebrew-d1f68f672da2a2ff6b33000b490791e4fc69c8c0.tar.bz2
sdl_sound
Diffstat (limited to 'Library/Formula/sdl_sound.rb')
-rw-r--r--Library/Formula/sdl_sound.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/sdl_sound.rb b/Library/Formula/sdl_sound.rb
new file mode 100644
index 000000000..833618e44
--- /dev/null
+++ b/Library/Formula/sdl_sound.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class SdlSound <Formula
+ url 'http://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz'
+ homepage 'http://icculus.org/SDL_sound/'
+ md5 'aa09cd52df85d29bee87a664424c94b5'
+
+ depends_on 'pkg-config'
+ depends_on 'sdl'
+ depends_on 'flac' => :optional
+ depends_on 'libmikmod' => :optional
+ depends_on 'libogg' => :optional
+ depends_on 'libvorbis' => :optional
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--disable-sdltest"
+ system "make install"
+ end
+end