2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-18 10:00:03 +00:00
|
|
|
|
|
|
|
class VorbisTools <Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
url 'http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz'
|
|
|
|
md5 '567e0fb8d321b2cd7124f8208b8b90e6'
|
|
|
|
homepage 'http://vorbis.com'
|
2009-06-18 10:00:03 +00:00
|
|
|
|
2009-09-26 02:24:35 +00:00
|
|
|
depends_on 'libogg'
|
|
|
|
depends_on 'libvorbis'
|
2010-09-13 22:16:09 +00:00
|
|
|
|
|
|
|
# ao and ogg123 are optional deps
|
|
|
|
# Not sure why we don't just require them. - Adam V.
|
2009-06-18 10:00:03 +00:00
|
|
|
|
|
|
|
def install
|
2010-02-05 01:40:05 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2010-09-13 22:16:09 +00:00
|
|
|
"--disable-nls",
|
|
|
|
"--prefix=#{prefix}"
|
2009-06-18 10:00:03 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-04-01 17:18:11 +00:00
|
|
|
end
|