[oe-commits] Martin Jansa : liberf_0.8.6: use same name SRC_URI param as those 2 URLs provide the same file

git version control git at git.openembedded.org
Sun Apr 11 12:50:06 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: af977daa114014877c5f5e99b5195b256fc672dc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=af977daa114014877c5f5e99b5195b256fc672dc

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sat Apr 10 12:08:36 2010 +0200

liberf_0.8.6: use same name SRC_URI param as those 2 URLs provide the same file

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/libelf/libelf_0.8.6.bb |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes/libelf/libelf_0.8.6.bb b/recipes/libelf/libelf_0.8.6.bb
index f0903d7..19b62d9 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"





More information about the Openembedded-commits mailing list