homebrew-core/Formula/opusfile.rb
Ralph Giles 6460624889 opusfile 0.4
Closes Homebrew/homebrew#22317.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-09-04 16:29:07 -05:00

21 lines
524 B
Ruby

require 'formula'
class Opusfile < Formula
homepage 'http://www.opus-codec.org/'
url 'http://downloads.xiph.org/releases/opus/opusfile-0.4.tar.gz'
sha1 'd514e57ffc051e4359b9bc13d6fc8805a26cdd3b'
head 'https://git.xiph.org/opusfile.git'
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