diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cmake_4.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-cmake_4.1.0.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cmake_4.1.0.bb b/meta-python/recipes-devtools/python/python3-cmake_4.1.0.bb new file mode 100644 index 0000000000..9ab56eb03f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cmake_4.1.0.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | SUMMARY = "CMake is an open-source, cross-platform family of tools designed to build, test and package software" | ||
| 2 | LICENSE = "BSD-3-Clause & Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = " \ | ||
| 4 | file://LICENSE_BSD_3;md5=9134cb61aebbdd79dd826ccb9ae6afcd \ | ||
| 5 | file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \ | ||
| 6 | " | ||
| 7 | |||
| 8 | DEPENDS = "ninja-native cmake-native python3-scikit-build-native python3-scikit-build-core-native" | ||
| 9 | |||
| 10 | PYPI_PACKAGE = "cmake" | ||
| 11 | PYPI_ARCHIVE_NAME_PREFIX = "pypi-" | ||
| 12 | |||
| 13 | inherit pypi python_setuptools_build_meta | ||
| 14 | SRC_URI[sha256sum] = "bacdd21aebdf9a42e5631cfb365beb8221783fcd27c4e04f7db8b79c43fb12df" | ||
| 15 | |||
| 16 | SRC_URI += " \ | ||
| 17 | file://CMakeLists.txt \ | ||
| 18 | file://run-cmake-from-path.patch \ | ||
| 19 | " | ||
| 20 | |||
| 21 | addtask do_patchbuild after do_patch before do_configure | ||
| 22 | |||
| 23 | do_patchbuild () { | ||
| 24 | rm -f ${S}/CMakeLists.txt | ||
| 25 | cp ${UNPACKDIR}/CMakeLists.txt ${S}/ | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install:append () { | ||
| 29 | rm -rf ${D}${bindir} | ||
| 30 | } | ||
| 31 | |||
| 32 | RDEPENDS:${PN} = " \ | ||
| 33 | cmake \ | ||
| 34 | python3-scikit-build \ | ||
| 35 | python3-scikit-build-core \ | ||
| 36 | " | ||
| 37 | |||
| 38 | BBCLASSEXTEND = "native nativesdk" | ||
