liberf_0.8.6: use same name SRC_URI param as those 2 URLs provide the same file
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 10 Apr 2010 10:08:36 +0000 (12:08 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sun, 11 Apr 2010 12:49:16 +0000 (14:49 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/libelf/libelf_0.8.6.bb

index f0903d7..19b62d9 100644 (file)
@@ -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"