1require automake.inc
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4DEPENDS:class-native = "autoconf-native"
5
6NAMEVER = "${@oe.utils.trim_version("${PV}", 2)}"
7
8RDEPENDS:${PN} += "\
9    autoconf \
10    perl \
11    perl-module-bytes \
12    perl-module-data-dumper \
13    perl-module-strict \
14    perl-module-text-parsewords \
15    perl-module-thread-queue \
16    perl-module-threads \
17    perl-module-vars "
18
19RDEPENDS:${PN}:class-native = "autoconf-native hostperl-runtime-native"
20
21SRC_URI += "\
22           file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
23           file://0002-automake-Update-for-python.m4-to-respect-libdir.patch \
24           file://0003-build-fix-race-in-parallel-builds.patch \
25           file://0004-Add-a-new-distro-feature-ptest.patch \
26           file://0006-automake-Remove-delays-in-configure-scripts-using-au.patch \
27           file://0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch \
28           "
29
30SRC_URI[sha256sum] = "397767d4db3018dd4440825b60c64258b636eaf6bf99ac8b0897f06c89310acd"
31
32PERL = "${USRBINPATH}/perl"
33PERL:class-native = "${USRBINPATH}/env perl"
34PERL:class-nativesdk = "${USRBINPATH}/env perl"
35
36CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
37
38do_install:append () {
39    install -d ${D}${datadir}
40}
41
42BBCLASSEXTEND = "native nativesdk"
43