diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-10-01 20:54:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-10-01 20:54:53 +0100 |
commit | 391b5b359a346aff490103da7dddc85047f83830 (patch) | |
tree | 29eea460a0bd7e1ff21d43b9d6df9af4d8a175e1 /dev-util/lttng-ust/lttng-ust-2.12.2.ebuild | |
parent | c719fdcee603a5a706a45d10cb598762d56a727d (diff) |
gentoo resync : 01.10.2021
Diffstat (limited to 'dev-util/lttng-ust/lttng-ust-2.12.2.ebuild')
-rw-r--r-- | dev-util/lttng-ust/lttng-ust-2.12.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/lttng-ust/lttng-ust-2.12.2.ebuild b/dev-util/lttng-ust/lttng-ust-2.12.2.ebuild new file mode 100644 index 000000000000..efe9ff12201c --- /dev/null +++ b/dev-util/lttng-ust/lttng-ust-2.12.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MY_P="${P/_rc/-rc}" +MY_SLOT="$(ver_cut 1-2)" + +DESCRIPTION="Linux Trace Toolkit - UST library" +HOMEPAGE="https://lttng.org" +SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0/${MY_SLOT}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples numa" + +DEPEND=" + dev-libs/userspace-rcu:= + numa? ( sys-process/numactl )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + default + if ! use examples; then + sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die + fi + eautoreconf +} + +src_configure() { + econf $(use_enable numa) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |