opus: use new dsl

This commit is contained in:
Adam Vandenberg committed 2012-08-25 23:36:33 -07:00
1 parent 62d6addf82
commit a7e193b06b
1 file changed
+2 -2
+2 -2
View File
@@ -7,13 +7,13 @@ class Opus < Formula
head 'https://git.xiph.org/opus.git'
if ARGV.build_head?
if build.head?
depends_on :automake
depends_on :libtool
end
def install
system "./autogen.sh" if ARGV.build_head?
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking", "--disable-doc",
"--prefix=#{prefix}"
system "make install"