summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake_1.12.5.bb
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2012-11-25 04:57:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-26 10:01:22 +0000
commit226e492705adf3f6ba10cd4cb7ab136c5b3c1e8a (patch)
treeba3fd49ff469184d7f3296eeb6740031a61b4deb /meta/recipes-devtools/automake/automake_1.12.5.bb
parent54ee29e56348a11667fd368714c0462ba58a3647 (diff)
downloadast2050-yocto-poky-226e492705adf3f6ba10cd4cb7ab136c5b3c1e8a.zip
ast2050-yocto-poky-226e492705adf3f6ba10cd4cb7ab136c5b3c1e8a.tar.gz
automake: update to upstream version 1.12.5
(From OE-Core rev: b524595ec8feeb05aeedd360fca34536ac21faff) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake/automake_1.12.5.bb')
-rw-r--r--meta/recipes-devtools/automake/automake_1.12.5.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake_1.12.5.bb b/meta/recipes-devtools/automake/automake_1.12.5.bb
new file mode 100644
index 0000000..76e2b87
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake_1.12.5.bb
@@ -0,0 +1,48 @@
+require automake.inc
+LICENSE="GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+DEPENDS_class-native = "autoconf-native"
+
+RDEPENDS_${PN} += "\
+ autoconf \
+ perl \
+ perl-module-bytes \
+ perl-module-data-dumper \
+ perl-module-strict \
+ perl-module-text-parsewords \
+ perl-module-thread-queue \
+ perl-module-threads \
+ perl-module-vars "
+
+RDEPENDS_${PN}_class-native = "autoconf-native perl-native-runtime"
+
+PATHFIXPATCH = "file://path_prog_fixes.patch"
+PATHFIXPATCH_class-native = ""
+PATHFIXPATCH_class-nativesdk = ""
+
+SRC_URI += "${PATHFIXPATCH} \
+ file://prefer-cpio-over-pax-for-ustar-archives.patch \
+ file://python-libdir.patch \
+ file://py-compile-compile-only-optimized-byte-code.patch"
+
+SRC_URI[md5sum] = "674f6d28f8723e0f478cb03de30f36f1"
+SRC_URI[sha256sum] = "82089e23b384d3e64efa4f09f133a02dadb91c0593d4f1d4e12c29d806be9925"
+
+PR = "r0"
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}${datadir}
+
+ # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
+ # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
+ for i in aclocal aclocal-1.12 automake automake-1.12; do
+ if [ -f ${D}${bindir}/$i ]; then
+ sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/perl,' \
+ -e 's,exec .*/bin/perl \(.*\) exec .*/bin/perl \(.*\),exec ${USRBINPATH}/perl \1 exec ${USRBINPATH}/perl \2,' \
+ ${D}${bindir}/$i
+ fi
+ done
+}
+
+BBCLASSEXTEND = "native nativesdk"
OpenPOWER on IntegriCloud