summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/autoconf/autoconf.inc55
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.69.bb57
2 files changed, 55 insertions, 57 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
deleted file mode 100644
index a4db7ca38f..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ /dev/null
@@ -1,55 +0,0 @@
1SUMMARY = "A GNU tool that produce 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 gnu-config-native"
9
10RDEPENDS_${PN} = "m4 gnu-config \
11 perl \
12 perl-module-bytes \
13 perl-module-carp \
14 perl-module-constant \
15 perl-module-data-dumper \
16 perl-module-errno \
17 perl-module-exporter \
18 perl-module-file-basename \
19 perl-module-file-compare \
20 perl-module-file-copy \
21 perl-module-file-find \
22 perl-module-file-glob \
23 perl-module-file-path \
24 perl-module-file-spec \
25 perl-module-file-spec-unix \
26 perl-module-file-stat \
27 perl-module-getopt-long \
28 perl-module-io-file \
29 perl-module-overloading \
30 perl-module-posix \
31 perl-module-symbol \
32 perl-module-thread-queue \
33 perl-module-threads \
34 "
35RDEPENDS_${PN}_class-native = "m4-native gnu-config-native hostperl-runtime-native"
36
37inherit autotools texinfo
38
39PERL = "${USRBINPATH}/perl"
40PERL_class-native = "/usr/bin/env perl"
41PERL_class-nativesdk = "/usr/bin/env perl"
42
43CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
44
45do_configure() {
46 # manually install a newer config.guess/.sub
47 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux
48 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux
49
50 oe_runconf
51}
52
53do_install_append() {
54 rm -rf ${D}${datadir}/emacs
55}
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
index 2e1b9bdc90..e30536a221 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
@@ -1,8 +1,14 @@
1require autoconf.inc 1SUMMARY = "A GNU tool that produce 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 gnu-config-native"
2 9
3PR = "r11" 10PR = "r11"
4 11
5LICENSE = "GPLv2 & GPLv3"
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ 12LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
7 file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504" 13 file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504"
8 14
@@ -26,6 +32,53 @@ SRC_URI[sha256sum] = "954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd
26 32
27SRC_URI_append_class-native = " file://fix_path_xtra.patch" 33SRC_URI_append_class-native = " file://fix_path_xtra.patch"
28 34
35RDEPENDS_${PN} = "m4 gnu-config \
36 perl \
37 perl-module-bytes \
38 perl-module-carp \
39 perl-module-constant \
40 perl-module-data-dumper \
41 perl-module-errno \
42 perl-module-exporter \
43 perl-module-file-basename \
44 perl-module-file-compare \
45 perl-module-file-copy \
46 perl-module-file-find \
47 perl-module-file-glob \
48 perl-module-file-path \
49 perl-module-file-spec \
50 perl-module-file-spec-unix \
51 perl-module-file-stat \
52 perl-module-getopt-long \
53 perl-module-io-file \
54 perl-module-overloading \
55 perl-module-posix \
56 perl-module-symbol \
57 perl-module-thread-queue \
58 perl-module-threads \
59 "
60RDEPENDS_${PN}_class-native = "m4-native gnu-config-native hostperl-runtime-native"
61
62inherit autotools texinfo
63
64PERL = "${USRBINPATH}/perl"
65PERL_class-native = "/usr/bin/env perl"
66PERL_class-nativesdk = "/usr/bin/env perl"
67
68CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
69
29EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no" 70EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no"
30 71
72do_configure() {
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
77 oe_runconf
78}
79
80do_install_append() {
81 rm -rf ${D}${datadir}/emacs
82}
83
31BBCLASSEXTEND = "native nativesdk" 84BBCLASSEXTEND = "native nativesdk"