homebrew-core/Formula/opus-tools.rb
Ralph Giles 426d27b89a opus-tools 0.1.7
Closes Homebrew/homebrew#22401.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-09 09:49:56 +01:00

26 lines
622 B
Ruby

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