homebrew-core/Formula/sdl_sound.rb

28 lines
822 B
Ruby
Raw Normal View History

2010-03-10 07:25:36 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class SdlSound < Formula
2010-03-10 07:25:36 +00:00
url 'http://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz'
homepage 'http://icculus.org/SDL_sound/'
md5 'aa09cd52df85d29bee87a664424c94b5'
head 'http://hg.icculus.org/icculus/SDL_sound', :using => :hg
depends_on 'pkg-config' => :build
2010-03-10 07:25:36 +00:00
depends_on 'sdl'
depends_on 'flac' => :optional
depends_on 'libmikmod' => :optional
depends_on 'libogg' => :optional
depends_on 'libvorbis' => :optional
depends_on 'speex' => :optional
depends_on 'physfs' => :optional
2010-03-10 07:25:36 +00:00
def install
system "./bootstrap" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-sdltest"
system "make"
system "make check"
2010-03-10 07:25:36 +00:00
system "make install"
end
end