autoconf.inc 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. SUMMARY = "A GNU tool that produce shell scripts to automatically configure software"
  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 gnu-config-native"
  9. RDEPENDS_${PN} = "m4 gnu-config \
  10. perl \
  11. perl-module-bytes \
  12. perl-module-carp \
  13. perl-module-constant \
  14. perl-module-data-dumper \
  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-find \
  21. perl-module-file-glob \
  22. perl-module-file-path \
  23. perl-module-file-spec \
  24. perl-module-file-spec-unix \
  25. perl-module-file-stat \
  26. perl-module-getopt-long \
  27. perl-module-io-file \
  28. perl-module-overloading \
  29. perl-module-posix \
  30. perl-module-symbol \
  31. perl-module-thread-queue \
  32. perl-module-threads \
  33. "
  34. RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
  35. RDEPENDS_${PN}_class-nativesdk = "\
  36. nativesdk-gnu-config \
  37. nativesdk-m4 \
  38. nativesdk-perl \
  39. nativesdk-perl-module-bytes \
  40. nativesdk-perl-module-carp \
  41. nativesdk-perl-module-constant \
  42. nativesdk-perl-module-data-dumper \
  43. nativesdk-perl-module-errno \
  44. nativesdk-perl-module-exporter \
  45. nativesdk-perl-module-file-basename \
  46. nativesdk-perl-module-file-compare \
  47. nativesdk-perl-module-file-copy \
  48. nativesdk-perl-module-file-find \
  49. nativesdk-perl-module-file-glob \
  50. nativesdk-perl-module-file-path \
  51. nativesdk-perl-module-file-spec \
  52. nativesdk-perl-module-file-spec-unix \
  53. nativesdk-perl-module-file-stat \
  54. nativesdk-perl-module-getopt-long \
  55. nativesdk-perl-module-io-file \
  56. nativesdk-perl-module-overloading \
  57. nativesdk-perl-module-posix \
  58. nativesdk-perl-module-symbol \
  59. nativesdk-perl-module-thread-queue \
  60. nativesdk-perl-module-threads \
  61. "
  62. inherit autotools texinfo
  63. PERL = "${USRBINPATH}/perl"
  64. PERL_class-native = "/usr/bin/env perl"
  65. PERL_class-nativesdk = "/usr/bin/env perl"
  66. CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
  67. do_configure() {
  68. # manually install a newer config.guess/.sub
  69. install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux
  70. install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux
  71. oe_runconf
  72. }
  73. do_install_append() {
  74. rm -rf ${D}${datadir}/emacs
  75. }