contacts 0.9: failed to build

contacts_0.9.bb failed to build since lacks of:

* SRC_URI[md5sum] or SRC_URI[sha256sum]
* LIC_FILES_CHKSUM

And an indent error in Makefile.am.

Fix these problems at the moment, maybe we should remove this old
version recipe since there is a contacts_git.bb

[YOCTO #2178]

(From OE-Core rev: d60b918186cadde05f2cde5b64d5b593ee0a6aba)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2012-03-27 15:01:41 +08:00 committed by Richard Purdie
parent 401129c5fc
commit 21a314e030
1 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,18 @@
require contacts.inc
PR = "r4"
PR = "r5"
SRC_URI =+ "http://pimlico-project.org/sources/${BPN}/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "aab5affbf93d6fa7b978b323a8d44de0"
SRC_URI[sha256sum] = "9cacec98f8123993033aaa255f3f4c04c86a1be65e487dd21f0aaa54384a6f6d"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://src/contacts-main.h;endline=18;md5=0371af46fbc72e33575e0072dca5fb19 \
file://src/contacts-dbus.c;endline=18;md5=e4da9ac1a0539fafc7df431010904fd5 \
file://src/contacts-gtk.c;endline=21;md5=1c2e3f55b215635eff4ba76f7696f8ee"
do_configure_prepend () {
# It used 8 spaces to instead of a tab, but it doesn't work for us
sed -i 's/^ $(MAKE) dist distdir=/\t$(MAKE) dist distdir/' Makefile.am
}