1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
9 MY_SLOT="$(ver_cut 1-2)"
11 DESCRIPTION="Linux Trace Toolkit - next generation"
12 HOMEPAGE="http://lttng.org"
13 SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2"
17 KEYWORDS="~amd64 ~x86"
20 DEPEND="dev-libs/userspace-rcu:=
23 ust? ( dev-util/lttng-ust:= )
27 S="${WORKDIR}/${MY_P}"
30 if kernel_is -lt 2 6 27; then
31 ewarn "${PN} require Linux kernel >= 2.6.27"
32 ewarn " pipe2(), epoll_create1() and SOCK_CLOEXEC are needed to run"
33 ewarn " the session daemon. There were introduce in the 2.6.27"
39 $(usex ust "" --without-lttng-ust) \
40 --docdir=/usr/share/doc/${PF}