commit 92a3364
hovercats
·
2024-04-16 19:23:02 +0000 UTC
parent 82b6257
repo/m4: import, because nettle is imcompatible with our m4
7 files changed,
+63,
-1
+40,
-0
1@@ -0,0 +1,40 @@
2+m4
3+________________________________________________________________________________
4+
5+GNU m4 is an implementation of m4 for the GNU Project. It is designed to avoid
6+many kinds of arbitrary limits found in traditional m4 implementations, such as
7+maximum line lengths, maximum size of a macro and number of macros. Removing
8+such arbitrary limits is one of the stated goals of the GNU Project. [0]
9+
10+Upstream: https://www.gnu.org/software/m4/
11+
12+
13+[000] Index
14+________________________________________________________________________________
15+
16+* Installation ........................................................... [001]
17+* Usage .................................................................. [002]
18+* References ............................................................. [003]
19+
20+
21+[001] Installation
22+________________________________________________________________________________
23+
24++------------------------------------------------------------------------------+
25+| |
26+| $ kiss b m4 |
27+| |
28++------------------------------------------------------------------------------+
29+
30+
31+[002] Usage
32+________________________________________________________________________________
33+
34+Refer to the manual pages and command help output.
35+
36+
37+[003] References
38+________________________________________________________________________________
39+
40+[0] https://en.wikipedia.org/wiki/M4_(computer_language)
41+
+18,
-0
1@@ -0,0 +1,18 @@
2+#!/bin/sh -e
3+
4+export CFLAGS="$CFLAGS -fPIE"
5+export LDFLAGS="$LDFLAGS -static-pie"
6+
7+./configure \
8+ --prefix=/usr \
9+ --disable-nls \
10+ --program-prefix=g
11+
12+make
13+make DESTDIR="$1" install
14+
15+# Remove info files
16+rm -r "$1/usr/share/info"
17+
18+# Compress manpages
19+find "$1/usr/share/man" -type f | xargs gzip -n -9
+1,
-0
1@@ -0,0 +1 @@
2+eadd696d929b0359bf7bd17390c2bcc3ad1cbf36126854eb545a50b86ca97e9eba
+1,
-0
1@@ -0,0 +1 @@
2+https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz
+1,
-0
1@@ -0,0 +1 @@
2+1.4.19 3
+1,
-1
1@@ -6,5 +6,5 @@
2 --enable-mini-gmp \
3 --disable-documentation
4
5-make
6+make M4=gm4
7 make DESTDIR="$1" install
+1,
-0
1@@ -0,0 +1 @@
2+m4 make