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 \ |
| 25 | perl-module-file-stat \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | perl-module-getopt-long \ |
| 27 | perl-module-io-file \ |
| 28 | perl-module-posix \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 29 | perl-module-thread-queue \ |
| 30 | perl-module-threads \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | " |
| 32 | RDEPENDS_${PN}_class-native = "m4-native gnu-config-native" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 33 | RDEPENDS_${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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 56 | |
| 57 | SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \ |
| 58 | file://program_prefix.patch" |
| 59 | |
| 60 | inherit autotools texinfo |
| 61 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 62 | PERL = "${USRBINPATH}/perl" |
| 63 | PERL_class-native = "/usr/bin/env perl" |
| 64 | PERL_class-nativesdk = "/usr/bin/env perl" |
| 65 | |
| 66 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 67 | |
| 68 | do_configure() { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 69 | # 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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 73 | oe_runconf |
| 74 | } |
| 75 | |
| 76 | do_install_append() { |
| 77 | rm -rf ${D}${datadir}/emacs |
| 78 | } |