2010-03-10 07:25:36 +00:00
|
|
|
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'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-03-10 07:25:36 +00:00
|
|
|
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
|