blob: a6a7b6c4fc2a00196de19fac6c42cd3a2075a7a9 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "CMake is an open-source, cross-platform family of tools designed to build, test and package software"
2LICENSE = "BSD-3-Clause & Apache-2.0"
3LIC_FILES_CHKSUM = " \
4 file://LICENSE_BSD_3;md5=9134cb61aebbdd79dd826ccb9ae6afcd \
5 file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \
6"
7
8DEPENDS = "ninja-native cmake-native python3-scikit-build-native"
9
10PYPI_PACKAGE = "cmake"
11PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
12
13inherit pypi python_setuptools_build_meta
Patrick Williams169d7bc2024-01-05 11:33:25 -060014SRC_URI[sha256sum] = "0d4051d101d151d8387156c463aa45c8cd0e164f870e0ac0c8c91d3ff08528e1"
Patrick Williamsac13d5f2023-11-24 18:59:46 -060015
16SRC_URI += " \
17 file://CMakeLists.txt \
18 file://run-cmake-from-path.patch \
19"
20
21addtask do_patchbuild after do_patch before do_configure
22
23do_patchbuild () {
24 rm -f ${S}/CMakeLists.txt
25 cp ${WORKDIR}/CMakeLists.txt ${S}/
26}
27
28do_install:append () {
29 rm -rf ${D}${bindir}
30}
31
32RDEPENDS:${PN} = " \
33 cmake \
34 python3-scikit-build \
35"
36
37BBCLASSEXTEND = "native nativesdk"