diff options
| author | Jon Buckley | 2012-07-22 14:03:07 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-07-22 11:56:21 -0700 |
| commit | 2a3b6574c6f7ebe5993e49be194b89c259f0ed4d (patch) | |
| tree | 49dd37522396c982d779d60c74be0ef70478dbfa /Library | |
| parent | 68caf03faaea291196387e0efdd352648b0f2070 (diff) | |
| download | homebrew-2a3b6574c6f7ebe5993e49be194b89c259f0ed4d.tar.bz2 | |
opus 0.9.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/opus.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/opus.rb b/Library/Formula/opus.rb new file mode 100644 index 000000000..01d068b7c --- /dev/null +++ b/Library/Formula/opus.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Opus < Formula + homepage 'http://www.opus-codec.org' + url 'http://downloads.xiph.org/releases/opus/opus-0.9.14.tar.gz' + sha1 '5a70dce8523b7be2e3d39e3d0f97fd3123a4c331' + + head 'https://git.xiph.org/opus.git' + + if ARGV.build_head? + depends_on :automake + depends_on :libtool + end + + def install + system "./autogen.sh" if ARGV.build_head? + system "./configure", "--disable-dependency-tracking", "--disable-doc", + "--prefix=#{prefix}" + system "make install" + end +end |
