xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "ltrace intercepts and records dynamic library calls"
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunDESCRIPTION = "ltrace intercepts and records dynamic library calls \
4*4882a593Smuzhiyunwhich are called by an executed process and the signals received by that process. \
5*4882a593SmuzhiyunIt can also intercept and print the system calls executed by the program.\
6*4882a593Smuzhiyun"
7*4882a593SmuzhiyunHOMEPAGE = "http://ltrace.org/"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunPE = "1"
13*4882a593SmuzhiyunPV = "7.91+git${SRCPV}"
14*4882a593SmuzhiyunSRCREV = "c22d359433b333937ee3d803450dc41998115685"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunDEPENDS = "elfutils"
17*4882a593SmuzhiyunSRC_URI = "git://github.com/sparkleholic/ltrace.git;branch=master;protocol=http;protocol=https \
18*4882a593Smuzhiyun           file://configure-allow-to-disable-selinux-support.patch \
19*4882a593Smuzhiyun           file://0001-replace-readdir_r-with-readdir.patch \
20*4882a593Smuzhiyun           file://0001-Use-correct-enum-type.patch \
21*4882a593Smuzhiyun           file://0002-Fix-const-qualifier-error.patch \
22*4882a593Smuzhiyun           file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \
23*4882a593Smuzhiyun           file://0001-Fix-tautological-compare-warning.patch \
24*4882a593Smuzhiyun           file://0001-Add-support-for-mips64-n32-n64.patch \
25*4882a593Smuzhiyun           file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \
26*4882a593Smuzhiyun           file://0001-mips-plt.c-Delete-include-error.h.patch \
27*4882a593Smuzhiyun           file://0001-move-fprintf-into-same-block-where-modname-and-symna.patch \
28*4882a593Smuzhiyun           file://0001-hook-Do-not-append-int-to-std-string.patch \
29*4882a593Smuzhiyun           file://0001-Bug-fix-for-data-type-length-judgment.patch \
30*4882a593Smuzhiyun           file://0001-ensure-the-struct-pointers-are-null-initilized.patch \
31*4882a593Smuzhiyun           file://0001-ppc-Remove-unused-host_powerpc64-function.patch \
32*4882a593Smuzhiyun           file://0001-mips-Use-hardcodes-values-for-ABI-syscall-bases.patch \
33*4882a593Smuzhiyun           file://0001-ppc-plt-do-not-free-symbol-libsym.patch \
34*4882a593Smuzhiyun           "
35*4882a593SmuzhiyunSRC_URI:append:libc-musl = " file://add_ppc64le.patch"
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunS = "${WORKDIR}/git"
38*4882a593Smuzhiyun
39*4882a593Smuzhiyuninherit autotools
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunPACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
42*4882a593SmuzhiyunPACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
43*4882a593SmuzhiyunPACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunCOMPATIBLE_HOST:riscv64 = "null"
46*4882a593SmuzhiyunCOMPATIBLE_HOST:riscv32 = "null"
47*4882a593Smuzhiyun
48*4882a593Smuzhiyundo_configure:prepend () {
49*4882a593Smuzhiyun    ( cd ${S}; ./autogen.sh )
50*4882a593Smuzhiyun}
51