homebrew-core/Formula/automake.rb

35 lines
982 B
Ruby
Raw Normal View History

class Automake < Formula
homepage "https://www.gnu.org/software/automake/"
url "http://ftpmirror.gnu.org/automake/automake-1.15.tar.xz"
mirror "https://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz"
sha256 "9908c75aabd49d13661d6dcb1bc382252d22cc77bf733a2d55e87f2aa2db8636"
2013-10-28 10:34:34 +00:00
bottle do
2015-01-05 22:16:59 +00:00
sha1 "493f0b3b591fd72412d0b048539df4d94127ec9c" => :yosemite
sha1 "a50e536f4cb8b7c45d51ab44fbc0825866553268" => :mavericks
sha1 "9430f3bca0176048b418440e57ca6b9d6773fc31" => :mountain_lion
2013-10-28 10:34:34 +00:00
end
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