diff options
author | Sam James <sam@gentoo.org> | 2022-08-19 23:11:56 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-19 23:11:56 +0100 |
commit | d5dd0a1ef8276ec5b7ea83a3e4994ace970bcf00 (patch) | |
tree | 5bea44c8cbaa1dbc1d34a7516dcf7b882017aaed /dev-libs/userspace-rcu | |
parent | sys-apps/gawk: add 5.1.65 (unkeyworded, beta) (diff) | |
download | gentoo-d5dd0a1ef8276ec5b7ea83a3e4994ace970bcf00.tar.gz gentoo-d5dd0a1ef8276ec5b7ea83a3e4994ace970bcf00.tar.bz2 gentoo-d5dd0a1ef8276ec5b7ea83a3e4994ace970bcf00.zip |
dev-libs/userspace-rcu: add 0.13.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/userspace-rcu')
-rw-r--r-- | dev-libs/userspace-rcu/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/userspace-rcu/userspace-rcu-0.13.2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/userspace-rcu/Manifest b/dev-libs/userspace-rcu/Manifest index 46d24682d96d..8b74db6cdf9a 100644 --- a/dev-libs/userspace-rcu/Manifest +++ b/dev-libs/userspace-rcu/Manifest @@ -1 +1,2 @@ DIST userspace-rcu-0.13.1.tar.bz2 609961 BLAKE2B 96581fb3e90764870d2eb3eff6999e3c20bf206e3a0d5c910acfe693d55e0cb389fa5126a74d175f3c46655e740ecf1c1426c367eb3c28f3ef3a634848e51e83 SHA512 c86f2eb260cccb3cb6bd54ddbc0b46e60083fc99423e9403242ebed7f39a2a49c68af933ea6f373e2a9d4f9dc56f5befe030740891e28cf2fabe927a48ff8182 +DIST userspace-rcu-0.13.2.tar.bz2 611448 BLAKE2B 6d502e0035b03df262c917ba70f7442e2bd81369091b2c521fe5c32f31ed2ef7404070759f3a8910b767153e05d28e354d5e5ece2a3ba17e4a31dd7db3e1924f SHA512 e5097a7f653f51b3a47a09f79e7a153aab8fd22c0504a1127a9b33d093a9ae6a941b97c0fe175ee168e2976097aefdcdf8d5ce030afbe565c1b72f64d6f5b60a diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.13.2.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.13.2.ebuild new file mode 100644 index 000000000000..d2b2f8fb1deb --- /dev/null +++ b/dev-libs/userspace-rcu/userspace-rcu-0.13.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Userspace RCU (read-copy-update) library" +HOMEPAGE="https://liburcu.org/" +SRC_URI="https://lttng.org/files/urcu/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/8" # subslot = soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( sys-process/time )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.13.1-tests-no-benchmark.patch + "${FILESDIR}"/${PN}-0.13.1-loong.patch +) + +src_prepare() { + default + + # Needed for tests patch + # ... and refresh libtool (see https://github.com/gentoo/gentoo/pull/23973) + # ... and for build on loong (see https://github.com/gentoo/gentoo/pull/25189) + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-shared + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + default + + emake -C tests/regression regtest +} + +src_install() { + default + + find "${ED}" -type f -name "*.la" -delete || die +} |