diff options
author | Yixun Lan <dlan@gentoo.org> | 2014-03-04 06:54:47 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2014-03-04 06:54:47 +0000 |
commit | 16a21a93afd43c29594dc9ac67106d3209306dfe (patch) | |
tree | a56422cd5137e03301701484adf513f13bb35070 /dev-util/lttng-tools | |
parent | initial version added, 2.4.0 (diff) | |
download | gentoo-2-16a21a93afd43c29594dc9ac67106d3209306dfe.tar.gz gentoo-2-16a21a93afd43c29594dc9ac67106d3209306dfe.tar.bz2 gentoo-2-16a21a93afd43c29594dc9ac67106d3209306dfe.zip |
initial version added, 2.4.0
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'dev-util/lttng-tools')
-rw-r--r-- | dev-util/lttng-tools/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/lttng-tools/lttng-tools-2.4.0.ebuild | 37 | ||||
-rw-r--r-- | dev-util/lttng-tools/metadata.xml | 15 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/lttng-tools/ChangeLog b/dev-util/lttng-tools/ChangeLog new file mode 100644 index 000000000000..17ae0020d41f --- /dev/null +++ b/dev-util/lttng-tools/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/lttng-tools +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-tools/ChangeLog,v 1.1 2014/03/04 06:54:47 dlan Exp $ + +*lttng-tools-2.4.0 (04 Mar 2014) + + 04 Mar 2014; Yixun Lan <dlan@gentoo.org> +lttng-tools-2.4.0.ebuild, + +metadata.xml: + initial version added, 2.4.0 + diff --git a/dev-util/lttng-tools/lttng-tools-2.4.0.ebuild b/dev-util/lttng-tools/lttng-tools-2.4.0.ebuild new file mode 100644 index 000000000000..72dd47e603d4 --- /dev/null +++ b/dev-util/lttng-tools/lttng-tools-2.4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-tools/lttng-tools-2.4.0.ebuild,v 1.1 2014/03/04 06:54:47 dlan Exp $ + +EAPI=5 + +inherit linux-info + +MY_P="${P/_rc/-rc}" +DESCRIPTION="Linux Trace Toolkit - next generation" +HOMEPAGE="http://lttng.org" +SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ust" + +DEPEND="dev-libs/userspace-rcu + dev-libs/popt + ust? ( dev-util/lttng-ust ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_pretend() { + if kernel_is -lt 2 6 27; then + ewarn "${PN} require Linux kernel >= 2.6.27" + ewarn " pipe2(), epoll_create1() and SOCK_CLOEXEC are needed to run" + ewarn " the session daemon. There were introduce in the 2.6.27" + fi +} + +src_configure() { + econf $(use_enable ust lttng-ust) +} diff --git a/dev-util/lttng-tools/metadata.xml b/dev-util/lttng-tools/metadata.xml new file mode 100644 index 000000000000..c177fda161df --- /dev/null +++ b/dev-util/lttng-tools/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>dlan@gentoo.org</email> + <name>Yixun Lan</name> + </maintainer> + + <longdescription> + LTTng, the Linux Trace Toolkit Next Generation, is a project that aims at producing a highly efficient full system tracing solution + </longdescription> + <use> + <flag name='ust'>Support LTTng-UST (Userspace Tracing)</flag> + </use> +</pkgmetadata> |