1 DESCRIPTION = "A tool for automatically generating Makefiles."
3 HOMEPAGE = "http://www.gnu.org/software/automake/"
5 DEPENDS_virtclass-native = "autoconf-native"
6 RDEPENDS_automake-native = "autoconf-native perl-native-runtime"
7 RDEPENDS_automake += "\
11 perl-module-constant \
13 perl-module-data-dumper \
14 perl-module-dynaloader \
16 perl-module-exporter-heavy \
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-spec-unix \
23 perl-module-file-stat \
24 perl-module-getopt-long \
29 perl-module-text-parsewords \
31 SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2;name=automake"
33 AUTOMAKE_API = "${@".".join(bb.data.getVar("PV",d,1).split(".")[0:2])}"
37 FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
39 do_configure_prepend () {
40 if ${@['true', 'false'][bb.data.inherits_class('native', d)]}
42 export ac_cv_path_PERL="${ac_cv_path_PERL=${bindir}/perl}"
46 do_install_append () {
48 ln -sf aclocal-${AUTOMAKE_API} ${D}${bindir}/aclocal
49 ln -sf automake-${AUTOMAKE_API} ${D}${bindir}/automake
50 install -d ${D}${datadir}/aclocal
53 BBCLASSEXTEND = "native"