-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[email protected] (new formula) (#1875)
- Loading branch information
1 parent
cbc486f
commit f78e25f
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |