[oe] [meta-oe][PATCH 1/2] lzip: add mirror for older versions

Paul Barker paul at paulbarker.me.uk
Tue Jun 18 22:39:33 UTC 2013


Older versions are available in .tar.lz format from the official source but that
would cause a circular dependency on lzip-native if the host doesn't already
have lzip. Fortunately the file we need is available from FreeBSD's distfiles.

Signed-off-by: Paul Barker <paul at paulbarker.me.uk>
---
 meta-oe/recipes-support/lzip/lzip_1.13.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/lzip/lzip_1.13.bb b/meta-oe/recipes-support/lzip/lzip_1.13.bb
index e04b6dc..f3f480b 100644
--- a/meta-oe/recipes-support/lzip/lzip_1.13.bb
+++ b/meta-oe/recipes-support/lzip/lzip_1.13.bb
@@ -6,6 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
 
 SRC_URI = "http://download.savannah.gnu.org/releases/lzip/lzip-${PV}.tar.gz"
 
+# Only the latest version is available in .tar.gz format from savannah.gnu.org,
+# FreeBSD distfiles is known to have version 1.13.
+MIRRORS += "http://download.savannah.gnu.org/releases/lzip/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/"
+
 SRC_URI[md5sum] = "2f401e995c36cca05bd1805aa9c28231"
 SRC_URI[sha256sum] = "c73d36c0a926b71d484eacc192262a1d209674e3f903016f2c74a2bcbc5c28ac"
 
-- 
1.8.3.1




More information about the Openembedded-devel mailing list