aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libvorbis.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-07-07 11:08:22 -0700
committerAdam Vandenberg2012-07-10 08:56:02 -0700
commit1f32fa43a77d75fe354e9e59bd23e9b9d934e09c (patch)
treec49ca57d6e333035e48616bf89eaba0d067da021 /Library/Formula/libvorbis.rb
parentcc6e0124437c4ceabbc0542770ed154aa0fb9e4e (diff)
downloadhomebrew-1f32fa43a77d75fe354e9e59bd23e9b9d934e09c.tar.bz2
Use autotools symbols
Diffstat (limited to 'Library/Formula/libvorbis.rb')
-rw-r--r--Library/Formula/libvorbis.rb17
1 files changed, 6 insertions, 11 deletions
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