zbedic: Switch to subdir= in SRC_URI, add FILESPATHPKG
authorTom Rini <tom_rini@mentor.com>
Mon, 7 Mar 2011 17:46:00 +0000 (10:46 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 7 Mar 2011 17:51:51 +0000 (10:51 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/zbedic/libbedic_1.1.bb

index 5c9c94c..8af2162 100644 (file)
@@ -7,14 +7,13 @@ LICENSE = "GPL"
 DEPENDS = "sqlite3"
 APPTYPE = "binary"
 APPDESKTOP = "${WORKDIR}/zbedic/misc"
+FILESPATHPKG .= ":zbedic"
 PR = "r5"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/bedic/libbedic_${PV}-0.tgz \
+SRC_URI = "${SOURCEFORGE_MIRROR}/bedic/libbedic_${PV}-0.tgz;subdir=${BPN}-${PV} \
            file://include-cstdio.patch \
           "
 
-S = "${WORKDIR}"
-
 inherit palmtop
 # need to override this, because bedic contains exception handling
 # pass VERSION as a string \\"${PV}.0\\"