blob: a6cef6f328574ff0401843d7fe6cba782ce0ed04 [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 \
Khem Raj0eeb9cd2018-08-06 15:57:00 -070012 file://m4-1.4.18-glibc-change-work-around.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040013 "
14
15SRC_URI_append_class-target = " file://0001-Unset-need_charset_alias-when-building-for-musl.patch"
16
17SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28"
18SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019
20LICENSE = "GPLv3"
21
22LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
23 file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
24
Brad Bishop6e60e8b2018-02-01 10:27:11 -050025# Fix "Argument list too long" error when len(TMPDIR) = 410
26acpaths = "-I ./m4"
27
Brad Bishop316dfdd2018-06-25 12:45:53 -040028EXTRA_OECONF += "--without-libsigsegv-prefix"
29
30EXTRA_OEMAKE += "'infodir=${infodir}'"