blob: a79b3922bc62e5885db5c85713e899686494a5a5 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved
2# Released under the MIT license (see packages/COPYING)
3
4SUMMARY = "Cross-platform, open-source make system"
Brad Bishopf3f93bb2019-10-16 14:33:32 -04005DESCRIPTION = "CMake is used to control the software compilation process \
6using simple platform and compiler independent configuration files. CMake \
7generates native makefiles and workspaces that can be used in the compiler \
8environment of your choice."
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009HOMEPAGE = "http://www.cmake.org/"
10BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php"
11SECTION = "console/utils"
Brad Bishopf3f93bb2019-10-16 14:33:32 -040012LICENSE = "BSD-3-Clause"
Andrew Geissler4ed12e12020-06-05 18:00:41 -050013LIC_FILES_CHKSUM = "file://Copyright.txt;md5=c721f56fce89ba2eadc2fdd8ba1f4d83 \
Andrew Geisslerd1e89492021-02-12 15:35:20 -060014 file://Source/cmake.h;beginline=1;endline=2;md5=a5f70e1fef8614734eae0d62b4f5891b \
Brad Bishop316dfdd2018-06-25 12:45:53 -040015 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050019SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020 file://0002-cmake-Prevent-the-detection-of-Qt5.patch \
21 file://0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch \
22 file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch \
Andrew Geisslerd1e89492021-02-12 15:35:20 -060023 file://0001-cm_cxx_features.cmake-do-not-try-to-run-the-test-bin.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025
Andrew Geisslerd1e89492021-02-12 15:35:20 -060026SRC_URI[sha256sum] = "3faca7c131494a1e34d66e9f8972ff5369e48d419ea8ceaa3dc15b4c11367732"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027
28UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
Andrew Geisslerc9f78652020-09-18 14:11:35 -050029
30# This is specific to the npm package that installs cmake, so isn't
31# relevant to OpenEmbedded
32CVE_CHECK_WHITELIST += "CVE-2016-10642"