homebrew-core/Formula/opus-tools.rb

26 lines
602 B
Ruby
Raw Normal View History

require 'formula'
class OpusTools < Formula
homepage 'http://www.opus-codec.org'
url 'http://downloads.xiph.org/releases/opus/opus-tools-0.1.6.tar.gz'
sha1 '305eb5eed76ddc0b5f12605a8b549638afc15885'
head 'https://git.xiph.org/opus-tools.git'
2012-08-28 04:54:55 +00:00
if build.head?
depends_on :automake
depends_on :libtool
end
depends_on 'pkg-config' => :build
depends_on 'opus'
depends_on 'libogg'
def install
2012-08-28 04:54:55 +00:00
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end