diff options
Diffstat (limited to 'org.handhelds.familiar/classes/debian-vampyre.bbclass')
-rw-r--r-- | org.handhelds.familiar/classes/debian-vampyre.bbclass | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/org.handhelds.familiar/classes/debian-vampyre.bbclass b/org.handhelds.familiar/classes/debian-vampyre.bbclass index a7bb6a5..1165d9c 100644 --- a/org.handhelds.familiar/classes/debian-vampyre.bbclass +++ b/org.handhelds.familiar/classes/debian-vampyre.bbclass @@ -5,13 +5,15 @@ # PN = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[0] or 'defaultpkgname'}" -PV = "${@'-'.join((bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1.0').split('-')[:-1])}" -PR = "${@(bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1').split('-')[-1]}" +DPV = "${@'-'.join((bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1.0').split('-')[:-1])}" +DPR = "${@(bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1').split('-')[-1]}" +PV = "${DPV}.debian${DPR}" +S = "${WORKDIR}/${PN}-${DPV}" DEBIAN_ARCHIVE ?= "main" DEBIAN_BASE_URI = "${DEBIAN_MIRROR}/${DEBIAN_ARCHIVE}/${@bb.data.getVar('PN', d, 1)[0]}/${PN}" -SRC_URI = "${DEBIAN_BASE_URI}/${PN}_${PV}.orig.tar.gz \ - ${DEBIAN_BASE_URI}/${PN}_${PV}-${PR}.diff.gz;patch=1" +SRC_URI = "${DEBIAN_BASE_URI}/${PN}_${DPV}.orig.tar.gz \ + ${DEBIAN_BASE_URI}/${PN}_${DPV}-${DPR}.diff.gz;patch=1 " do_install_append () { mkdir -p ${D}${datadir}/doc/${PN} |