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 \ |
| 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 Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 23 | perl-module-file-find \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | perl-module-getopt-long \ |
| 25 | perl-module-io-file \ |
| 26 | perl-module-posix \ |
| 27 | perl-module-data-dumper \ |
| 28 | " |
| 29 | RDEPENDS_${PN}_class-native = "m4-native gnu-config-native" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 30 | RDEPENDS_${PN}_class-nativesdk = "nativesdk-m4 nativesdk-gnu-config" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | |
| 32 | SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \ |
| 33 | file://program_prefix.patch" |
| 34 | |
| 35 | inherit autotools texinfo |
| 36 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 37 | PERL = "${USRBINPATH}/perl" |
| 38 | PERL_class-native = "/usr/bin/env perl" |
| 39 | PERL_class-nativesdk = "/usr/bin/env perl" |
| 40 | |
| 41 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 42 | |
| 43 | do_configure() { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 44 | # manually install a newer config.guess/.sub |
| 45 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux |
| 46 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux |
| 47 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 48 | oe_runconf |
| 49 | } |
| 50 | |
| 51 | do_install_append() { |
| 52 | rm -rf ${D}${datadir}/emacs |
| 53 | } |