backport opendreambox-git.bbclass
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 16 Sep 2011 12:07:26 +0000 (14:07 +0200)
committerAndreas Oberritter <obi@opendreambox.org>
Fri, 16 Sep 2011 12:07:26 +0000 (14:07 +0200)
classes/opendreambox-git.bbclass [new file with mode: 0644]

diff --git a/classes/opendreambox-git.bbclass b/classes/opendreambox-git.bbclass
new file mode 100644 (file)
index 0000000..773c684
--- /dev/null
@@ -0,0 +1,11 @@
+OPENDREAMBOX_PROJECT ?= "${BPN}"
+
+SRC_URI += "git://git.opendreambox.org/git/${OPENDREAMBOX_PROJECT}.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+inherit gitpkgv
+
+RECIPE_PV := "${PV}"
+PV = "${RECIPE_PV}+gitr${SRCPV}"
+PKGV = "${RECIPE_PV}+gitr${GITPKGV}"