diff options
| author | Ralph Giles | 2012-10-24 20:32:59 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-05 08:14:07 -0800 |
| commit | c42aa28204ac1463f3a693d4f6eba3fce78496a1 (patch) | |
| tree | bea776d55bb6ccb770c2e2b035cf88d8dd986b84 /Library | |
| parent | b1002fa9285d5971b346e77175aca2ea5fb26fca (diff) | |
| download | homebrew-c42aa28204ac1463f3a693d4f6eba3fce78496a1.tar.bz2 | |
opusfile 0.2
Closes #15656.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/opusfile.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/opusfile.rb b/Library/Formula/opusfile.rb new file mode 100644 index 000000000..c2ba36fc6 --- /dev/null +++ b/Library/Formula/opusfile.rb @@ -0,0 +1,25 @@ +require 'formula' + +class Opusfile < Formula + homepage 'http://www.opus-codec.org/' + url 'http://downloads.xiph.org/releases/opus/opusfile-0.2.tar.gz' + sha1 'db020e25178b501929a11b0e0f469890f4f4e6fa' + + head 'https://git.xiph.org/opusfile.git' + + depends_on 'pkg-config' => :build + depends_on 'opus' + depends_on 'libogg' + + # A naive build works against Apple openssl, but brew gets + # unresolved symbol warnings. I couldn't figure out why. + # depends_on 'openssl' + + def install + system "./autogen.sh" if build.head? + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + +end |
