opus-tools: use new dsl
This commit is contained in:
parent
9b212ba5d5
commit
4269da41c2
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ class OpusTools < Formula
|
||||||
|
|
||||||
head 'https://git.xiph.org/opus-tools.git'
|
head 'https://git.xiph.org/opus-tools.git'
|
||||||
|
|
||||||
if ARGV.build_head?
|
if build.head?
|
||||||
depends_on :automake
|
depends_on :automake
|
||||||
depends_on :libtool
|
depends_on :libtool
|
||||||
end
|
end
|
||||||
|
@ -17,7 +17,7 @@ class OpusTools < Formula
|
||||||
depends_on 'libogg'
|
depends_on 'libogg'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./autogen.sh" if ARGV.build_head?
|
system "./autogen.sh" if build.head?
|
||||||
system "./configure", "--disable-dependency-tracking",
|
system "./configure", "--disable-dependency-tracking",
|
||||||
"--prefix=#{prefix}"
|
"--prefix=#{prefix}"
|
||||||
system "make install"
|
system "make install"
|
||||||
|
|
Loading…
Reference in a new issue