summaryrefslogtreecommitdiff
path: root/packages/cmake/cmake.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-08-04 16:43:33 +0000
committerKoen Kooi <koen@openembedded.org>2008-08-04 16:43:33 +0000
commit814bc470c250b650dbb145d44cc21a1511bad39f (patch)
treed58893dce6b7dbf02b2c0b648b79ba710cd1e9e8 /packages/cmake/cmake.inc
parent29f6b384ef2899fda7d18b990622a9b30a7aa8d2 (diff)
parent4216de7b49215f46cfb0071753b2a371a0380416 (diff)
merge of '604e4566ff77ba4e877e134951341dca1fbf145e'
and 'f2ceedc03b70c983dbbb20c9f461a7f40d0941e7'
Diffstat (limited to 'packages/cmake/cmake.inc')
-rw-r--r--packages/cmake/cmake.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/cmake/cmake.inc b/packages/cmake/cmake.inc
index d046c84858..eb816680cd 100644
--- a/packages/cmake/cmake.inc
+++ b/packages/cmake/cmake.inc
@@ -5,6 +5,7 @@ DESCRIPTION = "A cross-platform, open-source make system"
HOMEPAGE = "http://www.cmake.org/"
LICENSE = "Berkeley-style license"
SECTION = "console/utils"
+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"
@@ -14,5 +15,5 @@ inherit autotools
S = "${WORKDIR}/cmake-${PV}"
do_configure () {
- ./configure --prefix=${base_prefix} || die "./bootstrap failed"
+ ./configure --prefix=${prefix} || die "./bootstrap failed"
}