homebrew-core/Formula/opus-tools.rb
Jon Buckley ac9d972191 opus-tools 0.1.4
Closes Homebrew/homebrew#13888.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-04 08:29:25 -07:00

25 lines
612 B
Ruby

require 'formula'
class OpusTools < Formula
homepage 'http://www.opus-codec.org'
url 'http://downloads.xiph.org/releases/opus/opus-tools-0.1.4.tar.gz'
sha1 'b4030cd65afa57340b5ae25fe3467808ca1454cf'
head 'https://git.xiph.org/opus-tools.git'
if ARGV.build_head?
depends_on :automake
depends_on :libtool
end
depends_on 'pkg-config' => :build
depends_on 'opus'
depends_on 'libogg'
def install
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end