summaryrefslogtreecommitdiff
path: root/packages/cmake/cmake.inc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2008-10-15 10:56:42 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2008-10-15 21:41:43 +0200
commitaa03004ace2fabb135a6208ef8c2d2b312aa7b0b (patch)
tree422c1d0883e7a5b9fd5ac111f39baf22aceb31a3 /packages/cmake/cmake.inc
parentf629930ce8c8e4950e46af9bae5b911ca150e7c7 (diff)
[PR] Change PR to FILE_PR and intro PR as FILE_PR + DISTRO_PR
Allow a distribution to globally bump the PR of every package this is useful when there was a change in the toolchain and every package is going to be different. find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR="/"FILE_PR ="/ {} \; find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR ="/"FILE_PR ="/ {} \; Acked-By: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'packages/cmake/cmake.inc')
-rw-r--r--packages/cmake/cmake.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cmake/cmake.inc b/packages/cmake/cmake.inc
index eb816680cd..81d1090c64 100644
--- a/packages/cmake/cmake.inc
+++ b/packages/cmake/cmake.inc
@@ -5,7 +5,7 @@ DESCRIPTION = "A cross-platform, open-source make system"
HOMEPAGE = "http://www.cmake.org/"
LICENSE = "Berkeley-style license"
SECTION = "console/utils"
-PR = "r1"
+FILE_PR = "r1"
CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"