From 1f32fa43a77d75fe354e9e59bd23e9b9d934e09c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 7 Jul 2012 11:08:22 -0700 Subject: Use autotools symbols --- Library/Formula/libvorbis.rb | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'Library/Formula/libvorbis.rb') diff --git a/Library/Formula/libvorbis.rb b/Library/Formula/libvorbis.rb index 1205ee1b0..0b1e659f8 100644 --- a/Library/Formula/libvorbis.rb +++ b/Library/Formula/libvorbis.rb @@ -12,20 +12,15 @@ class Libvorbis < Formula depends_on 'libogg' if ARGV.build_head? - depends_on "automake" => :build - - if MacOS.xcode_version >= "4.3" - depends_on "libtool" => :build - depends_on "autoconf" => :build - end + depends_on :autoconf + depends_on :automake + depends_on :libtool end def install - if ARGV.build_head? - system "./autogen.sh" - end - - system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking' + system "./autogen.sh" if ARGV.build_head? + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" system "make install" end end -- cgit v1.2.3