meta-intel/recipes-support/libipt/libipt_2.0.4.bb
Anuj Mittal 0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00

34 lines
1.0 KiB
BlitzBasic

SUMMARY = "Intel(R) Processor Trace Decoder Library"
DESCRIPTION = "The Intel Processor Trace (Intel PT) Decoder Library is Intel's \
reference implementation for decoding Intel PT. It can be used as a standalone \
library or it can be partially or fully integrated into your tool."
HOMEPAGE = "https://github.com/intel/libipt"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=aea4783603fc6bd8dff5157996ccb9d9"
inherit pkgconfig cmake
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.0"
SRCREV = "63813186694487a2bc005f32be57eb526e16714b"
EXTRA_OECMAKE += " \
-DPTDUMP=ON \
-DPTTC=ON \
-DCMAKE_SKIP_RPATH=ON \
"
do_install:append() {
install -d ${D}${bindir}/libipt
install -d ${D}${bindir}/libipt/tests
cp -r ${B}/bin/* ${D}${bindir}/libipt/
cp -r ${WORKDIR}/git/test/src/* ${D}${bindir}/libipt/tests
}
FILES:${PN}-test = "${bindir}"
PACKAGES =+ "${PN}-test"