2014-03-07 04:26:18 +00:00
|
|
|
SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.x"
|
|
|
|
DESCRIPTION = "The LTTng UST 2.x package contains the userspace tracer library to trace userspace codes."
|
|
|
|
HOMEPAGE = "http://lttng.org/ust"
|
|
|
|
BUGTRACKER = "https://bugs.lttng.org/projects/lttng-ust"
|
|
|
|
|
2014-08-14 22:08:05 +00:00
|
|
|
LICENSE = "LGPLv2.1+ & MIT & GPLv2"
|
2014-03-07 04:26:18 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
|
|
|
|
file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \
|
|
|
|
file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
|
|
|
|
|
|
|
|
inherit autotools lib_package
|
|
|
|
|
|
|
|
DEPENDS = "liburcu util-linux"
|
2016-06-02 09:26:03 +00:00
|
|
|
RDEPENDS_${PN}-bin = "python3-core"
|
2014-03-07 04:26:18 +00:00
|
|
|
|
|
|
|
# For backwards compatibility after rename
|
|
|
|
RPROVIDES_${PN} = "lttng2-ust"
|
|
|
|
RREPLACES_${PN} = "lttng2-ust"
|
|
|
|
RCONFLICTS_${PN} = "lttng2-ust"
|
|
|
|
|
2016-08-31 10:31:29 +00:00
|
|
|
SRCREV = "514a87f3b64181e384399935a5708a8f85b0cc83"
|
2014-03-07 04:26:18 +00:00
|
|
|
PE = "2"
|
2016-08-31 10:31:29 +00:00
|
|
|
PV = "2.8.1+git${SRCPV}"
|
2014-03-07 04:26:18 +00:00
|
|
|
|
2016-08-31 10:31:29 +00:00
|
|
|
SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.8 \
|
2016-02-24 03:40:07 +00:00
|
|
|
file://lttng-ust-doc-examples-disable.patch \
|
|
|
|
"
|
2014-03-07 04:26:18 +00:00
|
|
|
|
2016-08-31 10:31:29 +00:00
|
|
|
EXTRA_OECONF += "--disable-man-pages"
|
|
|
|
|
2016-06-02 09:26:03 +00:00
|
|
|
do_install_append() {
|
|
|
|
# Patch python tools to use Python 3; they should be source compatible, but
|
|
|
|
# still refer to Python 2 in the shebang
|
|
|
|
sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-03-07 04:26:18 +00:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
do_configure_prepend () {
|
|
|
|
( cd ${S}; ${S}/bootstrap )
|
|
|
|
}
|