summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake_1.12.1.bb
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-07-05 05:18:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:03 +0100
commitbf6786ba6329c3bd920280006720ebc3db115ec6 (patch)
tree9f37f7f20270d8ebee93bda2b7796ba1331c4c26 /meta/recipes-devtools/automake/automake_1.12.1.bb
parent83dda47b2e8ed8eafa9efb97d12a6ea201522c2f (diff)
downloadpoky-bf6786ba6329c3bd920280006720ebc3db115ec6.tar.gz
automake: upgrade from 1.11.3 to 1.12.1
(From OE-Core rev: c6b70eff7614ea774c0d8e39520f76bdce0ed977) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake/automake_1.12.1.bb')
-rw-r--r--meta/recipes-devtools/automake/automake_1.12.1.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake_1.12.1.bb b/meta/recipes-devtools/automake/automake_1.12.1.bb
new file mode 100644
index 0000000000..c2bc6a3068
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake_1.12.1.bb
@@ -0,0 +1,66 @@
1require automake.inc
2LICENSE="GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4DEPENDS_virtclass-native = "autoconf-native"
5
6RDEPENDS_${PN} += "\
7 autoconf \
8 perl \
9 perl-module-bytes \
10 perl-module-constant \
11 perl-module-cwd \
12 perl-module-data-dumper \
13 perl-module-dynaloader \
14 perl-module-errno \
15 perl-module-exporter-heavy \
16 perl-module-file-basename \
17 perl-module-file-compare \
18 perl-module-file-copy \
19 perl-module-file-glob \
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
30RDEPENDS_${PN}_virtclass-native = "autoconf-native perl-native-runtime"
31RDEPENDS_${PN}_virtclass-nativesdk = "autoconf-nativesdk"
32
33PATHFIXPATCH = "file://path_prog_fixes.patch"
34PATHFIXPATCH_virtclass-native = ""
35PATHFIXPATCH_virtclass-nativesdk = ""
36
37PERLPATH = "${bindir}/perl"
38PERLPATH_virtclass-native = "/usr/bin/perl"
39PERLPATH_virtclass-nativesdk = "/usr/bin/perl"
40
41SRC_URI += "${PATHFIXPATCH} \
42 file://prefer-cpio-over-pax-for-ustar-archives.patch \
43 file://python-libdir.patch \
44 file://py-compile-compile-only-optimized-byte-code.patch"
45
46SRC_URI[md5sum] = "ec25c1855cacf47e4bdee76a776b96ba"
47SRC_URI[sha256sum] = "24bf1640679ba4a9cbe2d36422f39a81eced7f556b576a7a2ccfc70ca85a1e2f"
48
49PR = "r0"
50
51do_install () {
52 oe_runmake 'DESTDIR=${D}' install
53 install -d ${D}${datadir}
54
55 # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
56 # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
57 for i in aclocal aclocal-1.11 automake automake-1.11; do
58 if [ -f ${D}${bindir}/$i ]; then
59 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' \
60 -e 's,exec .*/bin/perl \(.*\) exec .*/bin/perl \(.*\),exec ${PERLPATH} \1 exec ${PERLPATH} \2,' \
61 ${D}${bindir}/$i
62 fi
63 done
64}
65
66BBCLASSEXTEND = "native nativesdk"