increase dvbapp PR.
[vuplus_openembedded] / recipes / automake / automake.inc
1 DESCRIPTION = "A tool for automatically generating Makefiles."
2 LICENSE = "GPL"
3 HOMEPAGE = "http://www.gnu.org/software/automake/"
4 SECTION = "devel"
5 RDEPENDS_automake += "\
6     autoconf \
7     perl \
8     perl-module-bytes \
9     perl-module-constant \
10     perl-module-cwd \
11     perl-module-data-dumper \
12     perl-module-dynaloader \
13     perl-module-errno \
14     perl-module-exporter-heavy \
15     perl-module-file-basename \
16     perl-module-file-compare \
17     perl-module-file-copy \
18     perl-module-file-glob \
19     perl-module-file-path \
20     perl-module-file-spec-unix \
21     perl-module-file-stat \
22     perl-module-getopt-long \
23     perl-module-io \
24     perl-module-io-file \
25     perl-module-posix \
26     perl-module-strict \
27     perl-module-text-parsewords \
28     perl-module-vars "
29 SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2"
30 INC_PR = "r2"
31 AUTOMAKE_API = "${@".".join(bb.data.getVar("PV",d,1).split(".")[0:2])}"
32
33 inherit autotools
34
35 FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
36
37 do_configure_prepend () {
38         if ${@['true', 'false'][bb.data.inherits_class('native', d)]}
39         then
40                 export ac_cv_path_PERL="${ac_cv_path_PERL=${bindir}/perl}"
41         fi
42 }
43
44 do_install_append () {
45         autotools_do_install
46         ln -sf aclocal-${AUTOMAKE_API} ${D}${bindir}/aclocal
47         ln -sf automake-${AUTOMAKE_API} ${D}${bindir}/automake
48         install -d ${D}${datadir}/aclocal
49 }