homebrew-core/Formula/opusfile.rb

27 lines
648 B
Ruby
Raw Normal View History

require 'formula'
class Opusfile < Formula
homepage 'http://www.opus-codec.org/'
url 'http://downloads.xiph.org/releases/opus/opusfile-0.5.tar.gz'
sha1 '1ba9dabbbaa35034af8167661a918df6c003317e'
2014-03-13 22:25:14 +00:00
head do
url "https://git.xiph.org/opusfile.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on 'pkg-config' => :build
depends_on 'opus'
depends_on 'libogg'
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end