homebrew-core/Formula/opus.rb

22 lines
523 B
Ruby
Raw Normal View History

require 'formula'
class Opus < Formula
homepage 'http://www.opus-codec.org'
url 'http://downloads.xiph.org/releases/opus/opus-1.0.2.tar.gz'
sha1 '37dd3d69b10612cd513ccf26675ef6d61eda24b4'
head 'https://git.xiph.org/opus.git'
2012-08-26 06:36:33 +00:00
if build.head?
depends_on :automake
depends_on :libtool
end
def install
2012-08-26 06:36:33 +00:00
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking", "--disable-doc",
"--prefix=#{prefix}"
system "make install"
end
end