Permalink
Browse files

opus-tools 0.1.3

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 2a3b657 commit 05a599bacf32f0929866265dd337852a334e81f6 @jbuck jbuck committed with adamv Jul 22, 2012
Showing with 25 additions and 0 deletions.
  1. +25 −0 Library/Formula/opus-tools.rb
@@ -0,0 +1,25 @@
+require 'formula'
+
+class OpusTools < Formula
+ homepage 'http://www.opus-codec.org'
+ url 'http://downloads.xiph.org/releases/opus/opus-tools-0.1.3.tar.gz'
+ sha1 '82f9f2cbabfbfac9bea4354a043a0fcaf2e03a47'
+
+ head 'https://git.xiph.org/opus-tools.git'
+
+ if ARGV.build_head?
+ depends_on :automake
+ depends_on :libtool
+ end
+
+ depends_on 'pkg-config' => :build
+ depends_on 'opus'
+ depends_on 'libogg'
+
+ def install
+ system "./autogen.sh" if ARGV.build_head?
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end

0 comments on commit 05a599b

Please sign in to comment.