Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved |
| 2 | # Released under the MIT license (see packages/COPYING) |
| 3 | |
| 4 | SUMMARY = "Cross-platform, open-source make system" |
Brad Bishop | f3f93bb | 2019-10-16 14:33:32 -0400 | [diff] [blame] | 5 | DESCRIPTION = "CMake is used to control the software compilation process \ |
| 6 | using simple platform and compiler independent configuration files. CMake \ |
| 7 | generates native makefiles and workspaces that can be used in the compiler \ |
| 8 | environment of your choice." |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | HOMEPAGE = "http://www.cmake.org/" |
| 10 | BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php" |
| 11 | SECTION = "console/utils" |
Brad Bishop | f3f93bb | 2019-10-16 14:33:32 -0400 | [diff] [blame] | 12 | LICENSE = "BSD-3-Clause" |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 13 | LIC_FILES_CHKSUM = "file://Copyright.txt;md5=c721f56fce89ba2eadc2fdd8ba1f4d83 \ |
| 14 | file://Source/cmake.h;beginline=1;endline=3;md5=4494dee184212fc89c469c3acd555a14 \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 15 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 17 | CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 19 | SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | 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 \ |
| 23 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 25 | SRC_URI[sha256sum] = "597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 26 | |
| 27 | UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 28 | |
| 29 | # This is specific to the npm package that installs cmake, so isn't |
| 30 | # relevant to OpenEmbedded |
| 31 | CVE_CHECK_WHITELIST += "CVE-2016-10642" |