1# 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"
5DESCRIPTION = "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."
9HOMEPAGE = "http://www.cmake.org/"
10BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php"
11SECTION = "console/utils"
12LICENSE = "BSD-3-Clause"
13LIC_FILES_CHKSUM = "file://Copyright.txt;md5=31023e1d3f51ca90a58f55bcee8e2339 \
14                    file://Source/cmake.h;beginline=1;endline=2;md5=a5f70e1fef8614734eae0d62b4f5891b \
15                    "
16
17CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
18
19SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
20           file://0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch \
21           file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch \
22"
23
24SRC_URI[sha256sum] = "fac3915171d4dff25913975d712f76e69aef44bf738ba7b976793a458b4cfed4"
25
26UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
27
28# This is specific to the npm package that installs cmake, so isn't
29# relevant to OpenEmbedded
30CVE_CHECK_WHITELIST += "CVE-2016-10642"
31