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" |
| 8 | DEPENDS += "m4-native" |
| 9 | DEPENDS_class-native = "m4-native gnu-config-native" |
| 10 | DEPENDS_class-nativesdk = "nativesdk-m4 nativesdk-gnu-config" |
| 11 | RDEPENDS_${PN} = "m4 gnu-config \ |
| 12 | perl \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | perl-module-bytes \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | perl-module-carp \ |
| 15 | perl-module-constant \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 16 | perl-module-data-dumper \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | perl-module-errno \ |
| 18 | perl-module-exporter \ |
| 19 | perl-module-file-basename \ |
| 20 | perl-module-file-compare \ |
| 21 | perl-module-file-copy \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 22 | perl-module-file-find \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 23 | perl-module-file-glob \ |
| 24 | perl-module-file-path \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 25 | perl-module-file-spec \ |
| 26 | perl-module-file-spec-unix \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | perl-module-file-stat \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | perl-module-getopt-long \ |
| 29 | perl-module-io-file \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 30 | perl-module-overloading \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | perl-module-posix \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 32 | perl-module-symbol \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 33 | perl-module-thread-queue \ |
| 34 | perl-module-threads \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 35 | " |
| 36 | RDEPENDS_${PN}_class-native = "m4-native gnu-config-native" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 37 | RDEPENDS_${PN}_class-nativesdk = "\ |
| 38 | nativesdk-gnu-config \ |
| 39 | nativesdk-m4 \ |
| 40 | nativesdk-perl \ |
| 41 | nativesdk-perl-module-bytes \ |
| 42 | nativesdk-perl-module-carp \ |
| 43 | nativesdk-perl-module-constant \ |
| 44 | nativesdk-perl-module-data-dumper \ |
| 45 | nativesdk-perl-module-errno \ |
| 46 | nativesdk-perl-module-exporter \ |
| 47 | nativesdk-perl-module-file-basename \ |
| 48 | nativesdk-perl-module-file-compare \ |
| 49 | nativesdk-perl-module-file-copy \ |
| 50 | nativesdk-perl-module-file-find \ |
| 51 | nativesdk-perl-module-file-glob \ |
| 52 | nativesdk-perl-module-file-path \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 53 | nativesdk-perl-module-file-spec \ |
| 54 | nativesdk-perl-module-file-spec-unix \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 55 | nativesdk-perl-module-file-stat \ |
| 56 | nativesdk-perl-module-getopt-long \ |
| 57 | nativesdk-perl-module-io-file \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 58 | nativesdk-perl-module-overloading \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 59 | nativesdk-perl-module-posix \ |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 60 | nativesdk-perl-module-symbol \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 61 | nativesdk-perl-module-thread-queue \ |
| 62 | nativesdk-perl-module-threads \ |
| 63 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 64 | |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 65 | |
| 66 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 67 | SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \ |
| 68 | file://program_prefix.patch" |
| 69 | |
| 70 | inherit autotools texinfo |
| 71 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 72 | PERL = "${USRBINPATH}/perl" |
| 73 | PERL_class-native = "/usr/bin/env perl" |
| 74 | PERL_class-nativesdk = "/usr/bin/env perl" |
| 75 | |
| 76 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 77 | |
| 78 | do_configure() { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 79 | # manually install a newer config.guess/.sub |
| 80 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux |
| 81 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux |
| 82 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 83 | oe_runconf |
| 84 | } |
| 85 | |
| 86 | do_install_append() { |
| 87 | rm -rf ${D}${datadir}/emacs |
| 88 | } |