[oe-commits] Rolf Leggewie : tslib: introduce INC_PR

git version control git at git.openembedded.org
Wed Jun 10 18:19:21 UTC 2009


Module: openembedded.git
Branch: xora/angstrom-srcpv
Commit: 68c4b1c6cba4ef4e9b8d44c0be0c800a014d7240
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=68c4b1c6cba4ef4e9b8d44c0be0c800a014d7240

Author: Rolf Leggewie <oe-devel at rolf.leggewie.biz>
Date:   Wed Jun 10 13:15:10 2009 +0900

tslib: introduce INC_PR

---

 recipes/tslib/tslib.inc    |    1 +
 recipes/tslib/tslib_1.0.bb |    2 +-
 recipes/tslib/tslib_svn.bb |    2 ++
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/tslib/tslib.inc b/recipes/tslib/tslib.inc
index 1457616..b9f5ef0 100644
--- a/recipes/tslib/tslib.inc
+++ b/recipes/tslib/tslib.inc
@@ -3,6 +3,7 @@ HOMEPAGE = "http://tslib.berlios.de/"
 AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
 SECTION = "base"
 LICENSE = "LGPL"
+INC_PR = "r21"
 
 SRC_URI += "\
   file://ts.conf \
diff --git a/recipes/tslib/tslib_1.0.bb b/recipes/tslib/tslib_1.0.bb
index 8b3c35a..c22256f 100644
--- a/recipes/tslib/tslib_1.0.bb
+++ b/recipes/tslib/tslib_1.0.bb
@@ -1,5 +1,5 @@
 SRC_URI = "http://download.berlios.de/tslib/${BP}.tar.bz2 \
            file://fix_version.patch;patch=1"
-PR = "r20"
+PR = "${INC_PR}.1"
 
 include tslib.inc
diff --git a/recipes/tslib/tslib_svn.bb b/recipes/tslib/tslib_svn.bb
index ff4446b..e65f715 100644
--- a/recipes/tslib/tslib_svn.bb
+++ b/recipes/tslib/tslib_svn.bb
@@ -1,6 +1,8 @@
 SRC_URI = "svn://svn.berlios.de/tslib/trunk;module=tslib"
 S = "${WORKDIR}/tslib"
 PV = "1.0+svnr${SRCREV}"
+PR = "${INC_PR}.1"
+
 DEFAULT_PREFERENCE = "-1"
 
 include tslib.inc





More information about the Openembedded-commits mailing list