homebrew-core/Formula/automake.rb

38 lines
1 KiB
Ruby
Raw Normal View History

require 'formula'
class Automake < Formula
homepage 'http://www.gnu.org/software/automake/'
2013-12-28 22:35:59 +00:00
url 'http://ftpmirror.gnu.org/automake/automake-1.14.1.tar.gz'
mirror 'http://ftp.gnu.org/gnu/automake/automake-1.14.1.tar.gz'
sha1 '0bb1714b78d70cab9907d2013082978a28f48a46'
2013-10-28 10:34:34 +00:00
bottle do
2013-12-28 22:35:59 +00:00
sha1 '8720e073a828e5b7e29e5cacd01b3ccca88a6d40' => :mavericks
sha1 'ed3cba7f2a806a4192e875e809bb73b65a128757' => :mountain_lion
sha1 '12d0d7d3b6d31ea4faf9551076225343e9a5af1f' => :lion
2013-10-28 10:34:34 +00:00
end
2012-07-10 20:32:52 +00:00
# Always needs a newer autoconf, even on Snow Leopard.
depends_on 'autoconf' => :run
keg_only :provided_until_xcode43
def install
ENV['PERL'] = '/usr/bin/perl'
system "./configure", "--prefix=#{prefix}"
system "make install"
2012-07-07 18:08:22 +00:00
# Our aclocal must go first. See:
# https://github.com/Homebrew/homebrew/issues/10618
(share/"aclocal/dirlist").write <<-EOS.undent
#{HOMEBREW_PREFIX}/share/aclocal
/usr/share/aclocal
2012-07-07 18:08:22 +00:00
EOS
end
test do
system "#{bin}/automake", "--version"
end
end