File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ class M4 < Formula
2
+ desc "Macro processing language"
3
+ homepage "https://www.gnu.org/software/m4/"
4
+ url "https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz"
5
+ mirror "https://ftpmirror.gnu.org/m4/m4-1.4.19.tar.xz"
6
+ sha256 "63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96"
7
+ license "GPL-3.0-or-later"
8
+
9
+ bottle do
10
+ root_url "https://github.com/gromgit/homebrew-core-aarch64_linux/releases/download/m4-1.4.19"
11
+ sha256 cellar : :any_skip_relocation , aarch64_linux : "4510b0a1b1eae8134e8e56f3dd317b8a3bdb3ac43f54e1ffb6da906ce5a42b48"
12
+ end
13
+
14
+ keg_only :provided_by_macos
15
+
16
+ def install
17
+ system "./configure" , "--disable-dependency-tracking" , "--prefix=#{ prefix } "
18
+ system "make"
19
+ system "make" , "install"
20
+ end
21
+
22
+ test do
23
+ assert_match "Homebrew" ,
24
+ pipe_output ( bin /"m4" , "define(TEST, Homebrew)\n TEST\n " )
25
+ end
26
+ end
You can’t perform that action at this time.
0 commit comments