27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
class AutoconfAT213 < Formula
|
|
desc "Automatic configure script builder"
|
|
homepage "https://www.gnu.org/software/autoconf/"
|
|
url "https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz"
|
|
mirror "https://ftpmirror.gnu.org/autoconf/autoconf-2.13.tar.gz"
|
|
sha256 "f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e"
|
|
|
|
bottle do
|
|
sha256 "1631e2f720355ef11b150ebddde824c02eab44a336203bcdb5282e4784ecbcd9" => :sierra
|
|
sha256 "f6b148c2bcf08f0e143a4757fa6784bf9e0d780d5ca8ec8cd97c042316c50d84" => :el_capitan
|
|
sha256 "f6b148c2bcf08f0e143a4757fa6784bf9e0d780d5ca8ec8cd97c042316c50d84" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--program-suffix=213",
|
|
"--prefix=#{prefix}",
|
|
"--infodir=#{pkgshare}/info",
|
|
"--datadir=#{pkgshare}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match "Usage: autoconf", shell_output("#{bin}/autoconf213 --help 2>&1")
|
|
end
|
|
end
|