diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-12 15:57:44 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:35:23 +0000 |
commit | 455edf38e8af854de0cffffdebf258b354ff7e54 (patch) | |
tree | 745f9ba65ab1b89e5a698f4eaf82a0d90207a242 /meta/recipes-devtools/automake/automake_1.15.bb | |
parent | e101de6030949d746e04fb901200ff071b197f0c (diff) | |
download | openembedded-core-contrib-455edf38e8af854de0cffffdebf258b354ff7e54.tar.gz |
automake: upgrade to 1.15
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/automake/automake_1.15.bb')
-rw-r--r-- | meta/recipes-devtools/automake/automake_1.15.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake_1.15.bb b/meta/recipes-devtools/automake/automake_1.15.bb new file mode 100644 index 0000000000..d5b6e9eba4 --- /dev/null +++ b/meta/recipes-devtools/automake/automake_1.15.bb @@ -0,0 +1,42 @@ +require automake.inc +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +DEPENDS_class-native = "autoconf-native" + +NAMEVER = "${@oe.utils.trim_version("${PV}", 2)}" + +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" + +SRC_URI += " file://python-libdir.patch \ + file://py-compile-compile-only-optimized-byte-code.patch \ + file://buildtest.patch" + +SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3" +SRC_URI[sha256sum] = "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924" + +do_install_append () { + 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-${NAMEVER} automake automake-${NAMEVER}; 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" |