aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-08-22 00:01:22 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-08-26 20:13:42 +0100
commit5f8d02e5c041216c59bc03f1209c3c1c2e07a316 (patch)
treede7809a5b71100350f9996e93f6295ea52e62215
parentdb5bacc20fdc55f11c0794fc182a1da1ea8d2d1d (diff)
downloadmeta-opie-5f8d02e5c041216c59bc03f1209c3c1c2e07a316.zip
meta-opie-5f8d02e5c041216c59bc03f1209c3c1c2e07a316.tar.gz
meta-opie-5f8d02e5c041216c59bc03f1209c3c1c2e07a316.tar.bz2
zsafe: tidy up recipe
* Build in a sensible subdirectory instead of WORKDIR * Fix parse warnings due to erroneous FILES setting being overwritten by FILES_${PN} * Move SRC_URI checksums next to SRC_URI * Set SUMMARY instead of DESCRIPTION Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--recipes-qtopia/zsafe/zsafe_2.1.3.bb18
1 files changed, 8 insertions, 10 deletions
diff --git a/recipes-qtopia/zsafe/zsafe_2.1.3.bb b/recipes-qtopia/zsafe/zsafe_2.1.3.bb
index 5a4c34c..ef02520 100644
--- a/recipes-qtopia/zsafe/zsafe_2.1.3.bb
+++ b/recipes-qtopia/zsafe/zsafe_2.1.3.bb
@@ -1,15 +1,17 @@
-DESCRIPTION = "Password manager"
+SUMMARY = "Password manager"
SECTION = "opie/applications"
LICENSE = "GPLv2"
RCONFLICTS_${PN} = "opie-zsafe"
APPNAME = "zsafe"
APPTYPE = "binary"
APPDESKTOP = "${WORKDIR}"
-SRC_URI = "http://zcarsten.dyndns.org/carsten/zaurus/zsafe/zsafe_2.1.3.tgz \
- file://stream_h.patch"
-S = "${WORKDIR}"
PR = "r2"
+SRC_URI = "http://zcarsten.dyndns.org/carsten/zaurus/zsafe/zsafe_2.1.3.tgz;subdir=${PN}-${PV} \
+ file://stream_h.patch"
+SRC_URI[md5sum] = "5e4e10a67de603b04b752ed00311455d"
+SRC_URI[sha256sum] = "0937b15ca5dcd6f49adff04096610cee1f70197e17d461aefa98ed52e5ea0b72"
+
LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd794e2a0a289b9dfcc9f513d1996e"
inherit opie
@@ -20,13 +22,9 @@ export OE_QMAKE_LINK="${CXX}"
#FILES bin/zsafe apps/Applications/zsafe.desktop pics/zsafe/zsafe.png
-FILES_zsafe = "zsafe"
-
do_install() {
install -d ${D}${palmtopdir}/pics/${APPNAME}/
- install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.xpm ${D}${palmtopdir}/pics/${APPNAME}/
- install -m 0644 ${WORKDIR}/zsafe.png ${D}${palmtopdir}/pics/
+ install -m 0644 ${S}/pics/${APPNAME}/*.xpm ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${S}/zsafe.png ${D}${palmtopdir}/pics/
}
-SRC_URI[md5sum] = "5e4e10a67de603b04b752ed00311455d"
-SRC_URI[sha256sum] = "0937b15ca5dcd6f49adff04096610cee1f70197e17d461aefa98ed52e5ea0b72"