expat-2.0.1.tar.gz has no leading directory, so it unpacked directly in ${WORKDIR} and the following task fails. * added do_unpack() which create the right directory structur * updated md5 and sha256 sums
Signed-off-by: Gerd Wiegand <gerd...@gerwitec.de> --- recipes/expat/expat_2.0.1.bb | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/recipes/expat/expat_2.0.1.bb b/recipes/expat/expat_2.0.1.bb index 5ff9f1e..6752fd5 100644 --- a/recipes/expat/expat_2.0.1.bb +++ b/recipes/expat/expat_2.0.1.bb @@ -1,14 +1,19 @@ require expat.inc -PR = "r3" +PR = "r4" BBCLASSEXTEND = "native nativesdk" SRC_URI += "file://autotools.patch" -SRC_URI[src.md5sum] = "ee8b492592568805593f81f8cdf2a04c" -SRC_URI[src.sha256sum] = "847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93" +SRC_URI[src.md5sum] = "f8785ec51167c2f90d1fdb8dff6bb969" +SRC_URI[src.sha256sum] = "e03a463b6892ada099a68ce2d38bc4d2495612e7acd076d7a453d1a2de226212" inherit lib_package +do_unpack() { + mkdir -p ${WORKDIR}/expat-${PV} + tar -xzf ${DL_DIR}/expat-${PV}.tar.gz -C expat-${PV} +} + do_configure() { rm -f ${S}/conftools/libtool.m4 touch ${S}/conftools/libtool.m4 -- 1.7.0.4 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel