From: Charles M. <man...@ac...> - 2010-05-12 23:36:46
|
Like many who changed to Ubunto 10.04, I stubbed my toe on the problem with the new gzip failing to handle the expat tarball on sourceforge. I got around this problem as follows: $sudo apt-get install gzrt $gzrecover expat_2.0.1.tar.gz then retarballed the output and put it in my own location. You can access this with the recipe changes below or just recreate your own if you're not the trusting sort. Changed recipes to point to new location and updated sums. diff --git a/recipes/expat/expat.inc b/recipes/expat/expat.inc index b254f08..5fda3af 100644 --- a/recipes/expat/expat.inc +++ b/recipes/expat/expat.inc @@ -3,8 +3,10 @@ HOMEPAGE = "http://expat.sf.net/" SECTION = "libs" LICENSE = "MIT" -SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz;name=src \ - " +#SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz;name=src \ +# " +SRC_URI = "http://users.actrix.co.nz/manningc//expat-2.0.1.tar.gz" + S = "${WORKDIR}/expat-${PV}" export LTCC = "${CC}" diff --git a/recipes/expat/expat_2.0.1.bb b/recipes/expat/expat_2.0.1.bb index 1d06b9e..8423159 100644 --- a/recipes/expat/expat_2.0.1.bb +++ b/recipes/expat/expat_2.0.1.bb @@ -2,8 +2,8 @@ require expat.inc PR = "r3" SRC_URI += "file://autotools.patch;patch=1" -SRC_URI[src.md5sum] = "ee8b492592568805593f81f8cdf2a04c" -SRC_URI[src.sha256sum] = "847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93" +SRC_URI[md5sum] = "25b3cb4dbf925f80721aee6b4e33f942" +SRC_URI[sha256sum] = "7380c1533b581c869b8650fd91f6e02900f3d708c0280d71f915960d16b4cce0" inherit lib_package -- Charles |