3 class Automake111 < Formula
4 homepage 'http://www.gnu.org/software/automake/'
5 url 'http://ftpmirror.gnu.org/automake/automake-1.11.5.tar.gz'
6 mirror 'http://ftp.gnu.org/gnu/automake/automake-1.11.5.tar.gz'
7 sha1 '53949fa5b9776a5f4b6783486c037da64e374f4f'
9 depends_on "autoconf" => :build
11 if MacOS.xcode_version.to_f < 4.3 or File.file? "/usr/bin/automake"
12 keg_only "Xcode (up to and including 4.2) provides (a rather old) Automake."
16 system "./configure", "--prefix=#{prefix}"
19 # our aclocal must go first: https://github.com/mxcl/homebrew/issues/10618
20 (share/"aclocal/dirlist").write <<-EOS.undent
21 #{HOMEBREW_PREFIX}/share/aclocal
27 system "#{bin}/automake", "--version"