From: Rene Wagner Date: Sat, 12 Aug 2006 18:19:23 +0000 (+0200) Subject: sudo: adjust version to allow for upgrades. X-Git-Tag: familiar-v0.8.4~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=091b5c5ab025c25d95f1242415d7af9d19d22136;p=familiar-h63xx-build.git sudo: adjust version to allow for upgrades. Signed-off-by: Rene Wagner --- 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}