homebrew-core/Formula/automake.rb

35 lines
955 B
Ruby
Raw Normal View History

class Automake < Formula
homepage "http://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"
sha1 "c279b35ca6c410809dac8ade143b805fb48b7655"
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