blob: e6f155d5f31dbd708a1abd11da5db03b5d97a93a [file] [edit]
SUMMARY = "Library to instrument executable formats"
DESCRIPTION = "LIEF: Library to Instrument Executable Formats"
HOMEPAGE = "https://github.com/lief-project/LIEF"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c43f89548372352eb04f30367ec7a0f3"
SECTION = "libs"
SRCREV = "d05b3499b6934137e917c009a4df0a9dc8cb11c5"
SRC_URI = " \
git://github.com/lief-project/LIEF.git;protocol=https;branch=main;tag=${PV} \
file://0001-build-requirements.txt-Allow-newer-versions.patch \
file://0002-api-python-config-default.toml-Debug.patch \
"
CVE_PRODUCT = "lief"
PEP517_SOURCE_PATH = "${S}/api/python"
export LIEF_BUILD_DIR = "${B}"
inherit python_setuptools_build_meta
DEPENDS += "\
python3-scikit-build-native \
python3-scikit-build-core-native \
python3-tomli-native \
python3-pydantic-native \
ninja-native \
ccache-native \
python3-typing-inspection \
"
# https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203
COMPATIBLE_HOST:x86 = "null"
BBCLASSEXTEND = "native nativesdk"