homebrew-core/Formula/vorbis-tools.rb
nibbles 2bits a40fc07bc7 vorbis-tools: build ogg123 w/libao
vorbis-tools needs libao to create ogg123, a command line binary.
Add a `depends_on 'libao'` and one for `flac` also, because flac
is often found in an ogg container like webm.  Ogg123 will also
be used in solfege.  Tested by playing some files.

Closes Homebrew/homebrew#14134.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13 17:20:40 -05:00

19 lines
503 B
Ruby

require 'formula'
class VorbisTools < Formula
url 'http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz'
md5 '567e0fb8d321b2cd7124f8208b8b90e6'
homepage 'http://vorbis.com'
depends_on 'libogg'
depends_on 'libvorbis'
depends_on 'libao'
depends_on 'flac'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--disable-nls",
"--prefix=#{prefix}"
system "make install"
end
end