mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-23 18:47:15 +00:00
8f3df8b447
- Automatically convert all licenses to valid SPDX license expressions using convert-spdx-licenses.py Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
39 lines
988 B
BlitzBasic
39 lines
988 B
BlitzBasic
SUMMARY = "CMake is an open-source, cross-platform family of tools designed to build, test and package software"
|
|
LICENSE = "Apache-2.0 AND BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = " \
|
|
file://LICENSE_BSD_3;md5=9134cb61aebbdd79dd826ccb9ae6afcd \
|
|
file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \
|
|
"
|
|
|
|
DEPENDS = "ninja-native cmake-native python3-scikit-build-native python3-scikit-build-core-native"
|
|
|
|
PYPI_PACKAGE = "cmake"
|
|
PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
SRC_URI[sha256sum] = "933eb5977ecc5226e47d702d1c412b69f77ca00f59a4660c80b436cf7d5472de"
|
|
|
|
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 \
|
|
python3-scikit-build-core \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|