Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | SUMMARY = "A GNU tool that produce shell scripts to automatically configure software" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \ |
| 3 | configure software source code packages. Autoconf creates a configuration script for a package from a template \ |
| 4 | file that lists the operating system features that the package can use, in the form of M4 macro calls." |
| 5 | LICENSE = "GPLv3" |
| 6 | HOMEPAGE = "http://www.gnu.org/software/autoconf/" |
| 7 | SECTION = "devel" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 8 | DEPENDS = "m4-native gnu-config-native" |
| 9 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 10 | RDEPENDS_${PN} = "m4 gnu-config \ |
| 11 | perl \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 12 | perl-module-bytes \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | perl-module-carp \ |
| 14 | perl-module-constant \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | perl-module-data-dumper \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | perl-module-errno \ |
| 17 | perl-module-exporter \ |
| 18 | perl-module-file-basename \ |
| 19 | perl-module-file-compare \ |
| 20 | perl-module-file-copy \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | perl-module-file-find \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | perl-module-file-glob \ |
| 23 | perl-module-file-path \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame] | 24 | perl-module-file-spec \ |
| 25 | perl-module-file-spec-unix \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | perl-module-file-stat \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | perl-module-getopt-long \ |
| 28 | perl-module-io-file \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame] | 29 | perl-module-overloading \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | perl-module-posix \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame] | 31 | perl-module-symbol \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 32 | perl-module-thread-queue \ |
| 33 | perl-module-threads \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | " |
| 35 | RDEPENDS_${PN}_class-native = "m4-native gnu-config-native" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 36 | RDEPENDS_${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 Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame] | 52 | nativesdk-perl-module-file-spec \ |
| 53 | nativesdk-perl-module-file-spec-unix \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 54 | nativesdk-perl-module-file-stat \ |
| 55 | nativesdk-perl-module-getopt-long \ |
| 56 | nativesdk-perl-module-io-file \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame] | 57 | nativesdk-perl-module-overloading \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 58 | nativesdk-perl-module-posix \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame] | 59 | nativesdk-perl-module-symbol \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 60 | nativesdk-perl-module-thread-queue \ |
| 61 | nativesdk-perl-module-threads \ |
| 62 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 63 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 64 | inherit autotools texinfo |
| 65 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 66 | PERL = "${USRBINPATH}/perl" |
| 67 | PERL_class-native = "/usr/bin/env perl" |
| 68 | PERL_class-nativesdk = "/usr/bin/env perl" |
| 69 | |
| 70 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 71 | |
| 72 | do_configure() { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 73 | # 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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 77 | oe_runconf |
| 78 | } |
| 79 | |
| 80 | do_install_append() { |
| 81 | rm -rf ${D}${datadir}/emacs |
| 82 | } |