Files
meta-openembedded/meta-oe/recipes-extended/libleak/libleak_git.bb
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00

39 lines
950 B
BlitzBasic

# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "libleak detects memory leak by hooking memory functions (e.g. malloc) by LD_PRELOAD"
HOMEPAGE = "https://github.com/WuBingzheng/libleak"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://README.md;beginline=18;endline=21;md5=de4f705f12cdedbe452b2c3524572b03"
DEPENDS += "libbacktrace"
SRC_URI = "gitsm://github.com/WuBingzheng/libleak;protocol=https \
file://0001-respect-environment-variables.patch \
"
PV = "1.0+git${SRCPV}"
SRCREV = "ea2bb608ae25701692269a37d39d77e966b887ac"
S = "${WORKDIR}/git"
do_configure () {
:
}
do_compile () {
oe_runmake
}
do_install () {
install -Dm 0755 ${B}/libleak.so ${D}${libdir}/libleak.so
}
FILES_SOLIBSDEV = ""
FILES:${PN} += "${libdir}/libleak.so"
# libunwind does not support RISCV yet
COMPATIBLE_HOST:riscv64 = "null"
COMPATIBLE_HOST:riscv32 = "null"