diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-12-21 11:26:00 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-12-21 11:29:25 +0100 |
commit | 1c473050a1bd85e2f93ffd6a84ba218944d9eeec (patch) | |
tree | 78b041d0594f193ddcb11e3c712865e5cc2911c0 /dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild | |
parent | sys-apps/toybox: Bump (diff) | |
download | gentoo-1c473050a1bd85e2f93ffd6a84ba218944d9eeec.tar.gz gentoo-1c473050a1bd85e2f93ffd6a84ba218944d9eeec.tar.bz2 gentoo-1c473050a1bd85e2f93ffd6a84ba218944d9eeec.zip |
dev-libs/userspace-rcu: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild')
-rw-r--r-- | dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild new file mode 100644 index 000000000000..57880b5ec1f4 --- /dev/null +++ b/dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools-utils + +DESCRIPTION="userspace RCU (read-copy-update) library" +HOMEPAGE="http://lttng.org/urcu" +SRC_URI="http://lttng.org/files/urcu/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/4" # subslot = soname version +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="static-libs regression-test test" + +DEPEND="test? ( sys-process/time )" + +# tests fail with separate build dir +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}/usr/share/doc/${PF}" + ) + autotools-utils_src_configure +} + +src_test() { + default + if use regression-test; then + emake -C tests/regression regtest + fi +} |