Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "Traditional Unix macro processor" |
| 2 | HOMEPAGE = "https://www.gnu.org/software/m4/m4.html" |
| 3 | DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 \ |
| 4 | compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \ |
| 5 | GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc." |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 6 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 7 | inherit autotools texinfo |
| 8 | |
| 9 | SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \ |
| 10 | file://ac_config_links.patch \ |
| 11 | file://remove-gets.patch \ |
Khem Raj | 0eeb9cd | 2018-08-06 15:57:00 -0700 | [diff] [blame] | 12 | file://m4-1.4.18-glibc-change-work-around.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 13 | " |
| 14 | |
| 15 | SRC_URI_append_class-target = " file://0001-Unset-need_charset_alias-when-building-for-musl.patch" |
| 16 | |
| 17 | SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28" |
| 18 | SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | |
| 20 | LICENSE = "GPLv3" |
| 21 | |
| 22 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ |
| 23 | file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede" |
| 24 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 25 | # Fix "Argument list too long" error when len(TMPDIR) = 410 |
| 26 | acpaths = "-I ./m4" |
| 27 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 28 | EXTRA_OECONF += "--without-libsigsegv-prefix" |
| 29 | |
| 30 | EXTRA_OEMAKE += "'infodir=${infodir}'" |