blob: f1b2dfca7a5c22fe935360904540333c5df8a40f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "A GNU tool that procude shell scripts to automatically configure software"
2DESCRIPTION = "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 \
13 perl-module-carp \
14 perl-module-constant \
15 perl-module-errno \
16 perl-module-exporter \
17 perl-module-file-basename \
18 perl-module-file-compare \
19 perl-module-file-copy \
20 perl-module-file-glob \
21 perl-module-file-path \
22 perl-module-file-stat \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023 perl-module-file-find \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024 perl-module-getopt-long \
25 perl-module-io-file \
26 perl-module-posix \
27 perl-module-data-dumper \
28 "
29RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030RDEPENDS_${PN}_class-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031
32SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
33 file://program_prefix.patch"
34
35inherit autotools texinfo
36
Brad Bishop6e60e8b2018-02-01 10:27:11 -050037PERL = "${USRBINPATH}/perl"
38PERL_class-native = "/usr/bin/env perl"
39PERL_class-nativesdk = "/usr/bin/env perl"
40
41CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050042
43do_configure() {
44 oe_runconf
45}
46
47do_install_append() {
48 rm -rf ${D}${datadir}/emacs
49}