summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-08-14 14:57:14 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-08-14 15:36:01 +0200
commit6ccc123505b6cc3be85a8c67121bb12110bb1409 (patch)
treeb92c3d18f70e2b0de6369ef1d721cc609070bb24 /dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild
parentsys-process/time: Prefer PATCHES=() over epatch. (diff)
downloadgentoo-6ccc123505b6cc3be85a8c67121bb12110bb1409.tar.gz
gentoo-6ccc123505b6cc3be85a8c67121bb12110bb1409.tar.bz2
gentoo-6ccc123505b6cc3be85a8c67121bb12110bb1409.zip
dev-libs/userspace-rcu: Bump to version 0.10.0
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild')
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild
new file mode 100644
index 000000000000..2571e2531e4a
--- /dev/null
+++ b/dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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/6" # subslot = soname version
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="static-libs regression-test test"
+
+DEPEND="test? ( sys-process/time )"
+
+src_configure() {
+ local myeconfargs=(
+ --enable-shared
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ default
+ if use regression-test; then
+ emake -C tests/regression regtest
+ fi
+}