meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb
Khem Raj ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00

38 lines
924 B
BlitzBasic

SUMMARY = "CMake is an open-source, cross-platform family of tools designed to build, test and package software"
LICENSE = "BSD-3-Clause & Apache-2.0"
LIC_FILES_CHKSUM = " \
file://LICENSE_BSD_3;md5=9134cb61aebbdd79dd826ccb9ae6afcd \
file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \
"
DEPENDS = "ninja-native cmake-native python3-scikit-build-native"
PYPI_PACKAGE = "cmake"
PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "a8092815c739da7d6775c26ec30c2645f0fca9527a29e36a682faec7d39cde89"
SRC_URI += " \
file://CMakeLists.txt \
file://run-cmake-from-path.patch \
"
addtask do_patchbuild after do_patch before do_configure
do_patchbuild () {
rm -f ${S}/CMakeLists.txt
cp ${UNPACKDIR}/CMakeLists.txt ${S}/
}
do_install:append () {
rm -rf ${D}${bindir}
}
RDEPENDS:${PN} = " \
cmake \
python3-scikit-build \
"
BBCLASSEXTEND = "native nativesdk"