1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools-utils
8 DESCRIPTION="userspace RCU (read-copy-update) library"
9 HOMEPAGE="https://liburcu.org/"
10 SRC_URI="https://lttng.org/files/urcu/${P}.tar.bz2"
13 SLOT="0/4" # subslot = soname version
14 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
15 IUSE="static-libs regression-test test"
16 RESTRICT="!test? ( test )"
18 DEPEND="test? ( sys-process/time )"
20 # tests fail with separate build dir
21 AUTOTOOLS_IN_SOURCE_BUILD=1
25 --docdir="${EPREFIX}/usr/share/doc/${PF}"
27 autotools-utils_src_configure
32 if use regression-test; then
33 emake -C tests/regression regtest