Skip to content

Commit

Permalink
[email protected] (new formula) (#1875)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshitakaMo authored Sep 29, 2024
1 parent cbc486f commit f78e25f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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"
license "GPL-2.0-or-later"

uses_from_macos "m4"

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

0 comments on commit f78e25f

Please sign in to comment.