blob: f4033f7c2748776db3a8923ba49fc19b4da7e9bb [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001SUMMARY = "ltrace intercepts and records dynamic library calls"
2
3DESCRIPTION = "ltrace intercepts and records dynamic library calls \
4which are called by an executed process and the signals received by that process. \
5It can also intercept and print the system calls executed by the program.\
6"
7HOMEPAGE = "http://ltrace.org/"
8
9LICENSE = "GPLv2"
10LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
11
12PE = "1"
13PV = "7.91+git${SRCPV}"
14SRCREV = "c22d359433b333937ee3d803450dc41998115685"
15
16DEPENDS = "elfutils"
17RDEPENDS_${PN} = "elfutils"
18SRC_URI = "git://github.com/sparkleholic/ltrace.git;branch=master;protocol=http \
19 file://configure-allow-to-disable-selinux-support.patch \
20 file://0001-replace-readdir_r-with-readdir.patch \
21 file://0001-Use-correct-enum-type.patch \
22 file://0002-Fix-const-qualifier-error.patch \
23 file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \
24 file://0001-Fix-tautological-compare-warning.patch \
25 file://0001-Add-support-for-mips64-n32-n64.patch \
26 file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \
27 file://0001-mips-plt.c-Delete-include-error.h.patch \
28 "
29S = "${WORKDIR}/git"
30
31inherit autotools
32
33PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
34PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
35PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
36
37do_configure_prepend () {
38 ( cd ${S}; ./autogen.sh )
39}