blob: b82af5a5fa889083cf972e0e0830efc3d30a48d8 [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"
8DEPENDS += "m4-native"
9DEPENDS_class-native = "m4-native gnu-config-native"
10DEPENDS_class-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
11RDEPENDS_${PN} = "m4 gnu-config \
12 perl \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013 perl-module-bytes \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014 perl-module-carp \
15 perl-module-constant \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016 perl-module-data-dumper \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017 perl-module-errno \
18 perl-module-exporter \
19 perl-module-file-basename \
20 perl-module-file-compare \
21 perl-module-file-copy \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022 perl-module-file-find \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023 perl-module-file-glob \
24 perl-module-file-path \
25 perl-module-file-stat \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026 perl-module-getopt-long \
27 perl-module-io-file \
28 perl-module-posix \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029 perl-module-thread-queue \
30 perl-module-threads \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031 "
32RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080033RDEPENDS_${PN}_class-nativesdk = "\
34 nativesdk-gnu-config \
35 nativesdk-m4 \
36 nativesdk-perl \
37 nativesdk-perl-module-bytes \
38 nativesdk-perl-module-carp \
39 nativesdk-perl-module-constant \
40 nativesdk-perl-module-data-dumper \
41 nativesdk-perl-module-errno \
42 nativesdk-perl-module-exporter \
43 nativesdk-perl-module-file-basename \
44 nativesdk-perl-module-file-compare \
45 nativesdk-perl-module-file-copy \
46 nativesdk-perl-module-file-find \
47 nativesdk-perl-module-file-glob \
48 nativesdk-perl-module-file-path \
49 nativesdk-perl-module-file-stat \
50 nativesdk-perl-module-getopt-long \
51 nativesdk-perl-module-io-file \
52 nativesdk-perl-module-posix \
53 nativesdk-perl-module-thread-queue \
54 nativesdk-perl-module-threads \
55 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050056
57SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
58 file://program_prefix.patch"
59
60inherit autotools texinfo
61
Brad Bishop6e60e8b2018-02-01 10:27:11 -050062PERL = "${USRBINPATH}/perl"
63PERL_class-native = "/usr/bin/env perl"
64PERL_class-nativesdk = "/usr/bin/env perl"
65
66CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050067
68do_configure() {
Brad Bishop316dfdd2018-06-25 12:45:53 -040069 # manually install a newer config.guess/.sub
70 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux
71 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux
72
Patrick Williamsc124f4f2015-09-15 14:41:29 -050073 oe_runconf
74}
75
76do_install_append() {
77 rm -rf ${D}${datadir}/emacs
78}