From af977daa114014877c5f5e99b5195b256fc672dc Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 10 Apr 2010 12:08:36 +0200 Subject: [PATCH] liberf_0.8.6: use same name SRC_URI param as those 2 URLs provide the same file Signed-off-by: Martin Jansa --- recipes/libelf/libelf_0.8.6.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes/libelf/libelf_0.8.6.bb b/recipes/libelf/libelf_0.8.6.bb index f0903d78e6..19b62d97d8 100644 --- a/recipes/libelf/libelf_0.8.6.bb +++ b/recipes/libelf/libelf_0.8.6.bb @@ -4,8 +4,8 @@ LICENSE = "LGPL" SECTION = "libs" PR = "r1" -SRC_URI = "http://www.mr511.de/software/libelf-${PV}.tar.gz \ - http://www.stud.uni-hannover.de/~michael/software/libelf-${PV}.tar.gz" +SRC_URI = "http://www.mr511.de/software/libelf-${PV}.tar.gz;name=archive \ + http://www.stud.uni-hannover.de/~michael/software/libelf-${PV}.tar.gz;name=archive" inherit autotools @@ -33,3 +33,7 @@ do_stage () { done make includedir=${STAGING_INCDIR} install-compat } + +# both SRC_URI items are the same file +SRC_URI[archive.md5sum] = "d444fb0068cdfed01bb1fd1e91d29270" +SRC_URI[archive.sha256sum] = "6ff7a5dbb5ccf14995f6bde7f1fca6be5f7f91f62b2680a00d32e82b172c9499" -- 2.39.5