blob: ee8bee446bb82e887b0409a463a0c3a88be8f80f [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "Traditional Unix macro processor"
2HOMEPAGE = "https://www.gnu.org/software/m4/m4.html"
3DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 \
4compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \
5GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc."
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006
Brad Bishop316dfdd2018-06-25 12:45:53 -04007inherit autotools texinfo
8
9SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
10 file://ac_config_links.patch \
11 file://remove-gets.patch \
12 "
13
14SRC_URI_append_class-target = " file://0001-Unset-need_charset_alias-when-building-for-musl.patch"
15
16SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28"
17SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018
19LICENSE = "GPLv3"
20
21LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
22 file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
23
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024# Fix "Argument list too long" error when len(TMPDIR) = 410
25acpaths = "-I ./m4"
26
Brad Bishop316dfdd2018-06-25 12:45:53 -040027EXTRA_OECONF += "--without-libsigsegv-prefix"
28
29EXTRA_OEMAKE += "'infodir=${infodir}'"