opus-tools: use new dsl

This commit is contained in:
Adam Vandenberg 2012-08-27 21:54:55 -07:00
parent 9b212ba5d5
commit 4269da41c2

View file

@ -7,7 +7,7 @@ class OpusTools < Formula
head 'https://git.xiph.org/opus-tools.git'
if ARGV.build_head?
if build.head?
depends_on :automake
depends_on :libtool
end
@ -17,7 +17,7 @@ class OpusTools < Formula
depends_on 'libogg'
def install
system "./autogen.sh" if ARGV.build_head?
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"