Skip to content

Commit 15c7176

Browse files
authored
Merge pull request #677 from macaroni-os/merge/mark-31/bump-dev-libs_userspace-rcu-0_15_3
mark-devkit: [mark-31] Bump dev-libs/userspace-rcu-0.15.3
2 parents c6eda2d + 7f1dace commit 15c7176

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

dev-libs/userspace-rcu/Manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
DIST userspace-rcu-0.15.2.tar.bz2 684018 BLAKE2B 40b21b482acf26b4478b02ef1d6e7612504c0ab869c1ae8c5b1974decf5512a6240fe2f3817b29830eea0b94836b5ba6324fb0246b3355241d5a215c11de0060 SHA512 ded62f0cb4d6c78adf06235ca4dee36a213efcbfd9cc4e24525d8d29b1d746075f0fbe22d5cee1e38bca9920e0641f94507b640569a84c937e4bae99f53be7c1
2+
DIST userspace-rcu-0.15.3.tar.bz2 684175 BLAKE2B e636b04fe3bac7bb8f4afff0a7b2153e38d396a9c08e8ca19e705fcda81adda5256817db87305382c7adc3630ef5b1d25ff81af818a6b8c70232df11c9bee862 SHA512 9461f5f1ebfcfdb28bc9548738a030d0a29e754ae5340581d057c405c0fa5c17560a251fa15a20cf14d35f1fcc9aceac80841b37a5f348698da52a71ee4d4fe5
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Distributed under the terms of the GNU General Public License v2
2+
3+
EAPI=7
4+
5+
inherit autotools
6+
7+
DESCRIPTION="Userspace RCU (read-copy-update) library"
8+
HOMEPAGE="https://liburcu.org/"
9+
SRC_URI="https://lttng.org/files/urcu/userspace-rcu-0.15.3.tar.bz2 -> userspace-rcu-0.15.3.tar.bz2"
10+
11+
LICENSE="LGPL-2.1"
12+
SLOT="0/8" # subslot = soname version
13+
KEYWORDS="*"
14+
IUSE="static-libs test"
15+
RESTRICT="!test? ( test )"
16+
17+
#BDEPEND="test? ( sys-process/time )"
18+
19+
#PATCHES=(
20+
# "${FILESDIR}"/${PN}-0.13.1-tests-no-benchmark.patch
21+
#)
22+
23+
src_prepare() {
24+
default
25+
26+
# Needed for tests patch
27+
# ... and refresh libtool (see https://github.com/gentoo/gentoo/pull/23973)
28+
eautoreconf
29+
}
30+
31+
src_configure() {
32+
local myeconfargs=(
33+
--enable-shared
34+
$(use_enable static-libs static)
35+
)
36+
37+
econf "${myeconfargs[@]}"
38+
}
39+
40+
src_test() {
41+
default
42+
43+
emake -C tests/regression regtest
44+
}
45+
46+
src_install() {
47+
default
48+
49+
find "${ED}" -type f -name "*.la" -delete || die
50+
}

0 commit comments

Comments
 (0)