summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-12-21 11:26:00 +0100
committerJeroen Roovers <jer@gentoo.org>2015-12-21 11:29:25 +0100
commit1c473050a1bd85e2f93ffd6a84ba218944d9eeec (patch)
tree78b041d0594f193ddcb11e3c712865e5cc2911c0 /dev-libs/userspace-rcu
parentsys-apps/toybox: Bump (diff)
downloadgentoo-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')
-rw-r--r--dev-libs/userspace-rcu/Manifest1
-rw-r--r--dev-libs/userspace-rcu/metadata.xml3
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild35
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/userspace-rcu/Manifest b/dev-libs/userspace-rcu/Manifest
index e6e7c7d8d366..391aaa525e19 100644
--- a/dev-libs/userspace-rcu/Manifest
+++ b/dev-libs/userspace-rcu/Manifest
@@ -3,3 +3,4 @@ DIST userspace-rcu-0.7.13.tar.bz2 390152 SHA256 368a0db48926b127f86f62595f67b21f
DIST userspace-rcu-0.8.4.tar.bz2 418911 SHA256 96c0a157e94a15b1506efe9aedd98145e6eb41a3fbcf5b0d118b7a783b22fe12 SHA512 62a2c7bc9923947bcdd17f7bc5ff6d12e6bc7b63d108977dc9dd990827c043452974800bb494b80c383279916482e12b441184834b4c84a226113af4923e32e6 WHIRLPOOL 487dbc84f15144a9035eaa938dd7f075d573cd72c7be51e5adee8507594a87d75ee6f621accdda80708693fea36d9f2db017d2936c10ff74cf0bd6342eeba2bd
DIST userspace-rcu-0.8.5.tar.bz2 423913 SHA256 a2562eaca107ec6eca2856632b6035c6aaf38df79020195ed8955a7b4773312a SHA512 4b2090e7fd1c6f771e7fc0f8dde9cd1cbde64fe6295f3c96b2ad13b6581d8a07e0ab9b8a7e97021049c4ecc35303b709903ba593a64ba84c958f4c4b95d93a45 WHIRLPOOL b37d9801d508b608009febbd94ac831f54238419969038f02ee480ca4a488c7aaa3b7dd23d672ed58296f43917fe6e2f1afcd579da41ba75fb40e2dc3a11face
DIST userspace-rcu-0.8.6.tar.bz2 424037 SHA256 b1a5d3bce014ba7a702759bc60b692c1cd46ff0e8a5b53f0d0a95e22db74ab21 SHA512 027c215570b1ff94d0b7dd66934aece525461ddc8b172000c72af5b2e76115da9d18a635bbfb81dbd749c52463c5f4dd27f5700a30f367a4fb5fe0db6c128a6d WHIRLPOOL a652e9d8141356edfa5a67e6c884101f46c0d67e1089528b6c9a17e8def7057d09e4c75afed6bbb0eb2a2de32300dd7958cde51ae8b639a600c4049fc6babd7d
+DIST userspace-rcu-0.9.1.tar.bz2 468197 SHA256 f8d278e9d95bec97c9ba954fc4c3fb584936bc0010713a8fe358b916bafd8715 SHA512 958234d72319decef07093c13b067e398c1b285ac714ab1dda89c2ad2ba0627d053e0cdabb07d480e399ebd60215445002876bd99f2829ca1e5582ada639f730 WHIRLPOOL e8d39b626529894a88a74d308ceb759a0166888113b5ca7e021e5a1c816126f98331ccb78d7a8d245f1aa16df06b6f45323c01dcf9bbc6e742b27fa5f76c2b24
diff --git a/dev-libs/userspace-rcu/metadata.xml b/dev-libs/userspace-rcu/metadata.xml
index 96a2d586367d..8597f04b7089 100644
--- a/dev-libs/userspace-rcu/metadata.xml
+++ b/dev-libs/userspace-rcu/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
+<use>
+<flag name='regression-test'>Run regression tests (requires FEATURES=test)</flag>
+</use>
</pkgmetadata>
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
+}