2008-06-18 08:35:12 +00:00
|
|
|
# Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved
|
|
|
|
# Released under the MIT license (see packages/COPYING)
|
|
|
|
|
|
|
|
DESCRIPTION = "A cross-platform, open-source make system"
|
|
|
|
HOMEPAGE = "http://www.cmake.org/"
|
2010-07-14 12:27:50 +00:00
|
|
|
BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php"
|
2008-06-18 08:35:12 +00:00
|
|
|
SECTION = "console/utils"
|
2010-07-14 12:27:50 +00:00
|
|
|
LICENSE = "BSD"
|
2010-11-23 06:47:53 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://Copyright.txt;md5=f372516292ff7c33337bf16a74a5f9a8 \
|
|
|
|
file://Source/cmake.h;beginline=1;endline=10;md5=341736dae83c9e344b53eeb1bc7d7bc2"
|
2008-06-18 08:35:12 +00:00
|
|
|
|
2011-07-08 13:47:43 +00:00
|
|
|
INC_PR = "r1"
|
|
|
|
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV',1).split('.')[0:2])}"
|
2011-07-08 13:47:43 +00:00
|
|
|
|
2011-05-12 15:36:03 +00:00
|
|
|
SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
|
|
|
|
file://support-oe-qt4-tools-names.patch"
|
2008-06-18 08:35:12 +00:00
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
do_configure () {
|
2011-07-08 13:47:43 +00:00
|
|
|
./configure --prefix=${prefix}
|
2008-06-18 08:35:12 +00:00
|
|
|
}
|