diff options
| author | Jørgen P. Tjernø | 2013-08-13 12:25:49 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-27 18:38:40 -0700 |
| commit | b7076c04f7e83ea2f31907c4196ef6b934be9de0 (patch) | |
| tree | 30446274f21713580a6535379e4b7562cc8fbcdd /Library/Formula | |
| parent | 0a20f18495f957d7dcbeaa7df6ae16418daa5da2 (diff) | |
| download | homebrew-b7076c04f7e83ea2f31907c4196ef6b934be9de0.tar.bz2 | |
sdl2_mixer 2.0.0
Closes #21885.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sdl2_mixer.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/sdl2_mixer.rb b/Library/Formula/sdl2_mixer.rb new file mode 100644 index 000000000..77d9b9d9d --- /dev/null +++ b/Library/Formula/sdl2_mixer.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Sdl2Mixer < Formula + homepage 'http://www.libsdl.org/projects/SDL_mixer/' + url 'http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.0.tar.gz' + sha1 '9ed975587f09a1776ba9776dcc74a58e695aba6e' + + head 'http://hg.libsdl.org/SDL_mixer', :using => :hg + + depends_on 'pkg-config' => :build + depends_on 'sdl2' + depends_on 'flac' => :optional + depends_on 'libmikmod' => :optional + depends_on 'libvorbis' => :optional + + def install + inreplace 'SDL2_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX + + system "./configure", "--prefix=#{prefix}", + "--disable-dependency-tracking" + system "make install" + end +end |
