blob: 787f30a097556610f545532bed41105a920af313 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "A GNU tool that produce shell scripts to automatically configure software"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \
3configure software source code packages. Autoconf creates a configuration script for a package from a template \
4file that lists the operating system features that the package can use, in the form of M4 macro calls."
5LICENSE = "GPLv3"
6HOMEPAGE = "http://www.gnu.org/software/autoconf/"
7SECTION = "devel"
Andrew Geisslerc9f78652020-09-18 14:11:35 -05008DEPENDS = "m4-native gnu-config-native"
9
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010RDEPENDS_${PN} = "m4 gnu-config \
11 perl \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012 perl-module-bytes \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013 perl-module-carp \
14 perl-module-constant \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015 perl-module-data-dumper \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016 perl-module-errno \
17 perl-module-exporter \
18 perl-module-file-basename \
19 perl-module-file-compare \
20 perl-module-file-copy \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021 perl-module-file-find \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022 perl-module-file-glob \
23 perl-module-file-path \
Brad Bishopd89cb5f2019-04-10 09:02:41 -040024 perl-module-file-spec \
25 perl-module-file-spec-unix \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026 perl-module-file-stat \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027 perl-module-getopt-long \
28 perl-module-io-file \
Brad Bishopd89cb5f2019-04-10 09:02:41 -040029 perl-module-overloading \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030 perl-module-posix \
Brad Bishopd89cb5f2019-04-10 09:02:41 -040031 perl-module-symbol \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032 perl-module-thread-queue \
33 perl-module-threads \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050034 "
35RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080036RDEPENDS_${PN}_class-nativesdk = "\
37 nativesdk-gnu-config \
38 nativesdk-m4 \
39 nativesdk-perl \
40 nativesdk-perl-module-bytes \
41 nativesdk-perl-module-carp \
42 nativesdk-perl-module-constant \
43 nativesdk-perl-module-data-dumper \
44 nativesdk-perl-module-errno \
45 nativesdk-perl-module-exporter \
46 nativesdk-perl-module-file-basename \
47 nativesdk-perl-module-file-compare \
48 nativesdk-perl-module-file-copy \
49 nativesdk-perl-module-file-find \
50 nativesdk-perl-module-file-glob \
51 nativesdk-perl-module-file-path \
Brad Bishopd89cb5f2019-04-10 09:02:41 -040052 nativesdk-perl-module-file-spec \
53 nativesdk-perl-module-file-spec-unix \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080054 nativesdk-perl-module-file-stat \
55 nativesdk-perl-module-getopt-long \
56 nativesdk-perl-module-io-file \
Brad Bishopd89cb5f2019-04-10 09:02:41 -040057 nativesdk-perl-module-overloading \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080058 nativesdk-perl-module-posix \
Brad Bishopd89cb5f2019-04-10 09:02:41 -040059 nativesdk-perl-module-symbol \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080060 nativesdk-perl-module-thread-queue \
61 nativesdk-perl-module-threads \
62 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050063
Patrick Williamsc124f4f2015-09-15 14:41:29 -050064inherit autotools texinfo
65
Brad Bishop6e60e8b2018-02-01 10:27:11 -050066PERL = "${USRBINPATH}/perl"
67PERL_class-native = "/usr/bin/env perl"
68PERL_class-nativesdk = "/usr/bin/env perl"
69
70CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050071
72do_configure() {
Brad Bishop316dfdd2018-06-25 12:45:53 -040073 # manually install a newer config.guess/.sub
74 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux
75 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux
76
Patrick Williamsc124f4f2015-09-15 14:41:29 -050077 oe_runconf
78}
79
80do_install_append() {
81 rm -rf ${D}${datadir}/emacs
82}