commit:     985e49ca4c3995b08e33076c97d5c650da7124fb
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 10:10:38 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 10:17:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985e49ca

dev-libs/userspace-rcu: Revbump to drop .la files

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../userspace-rcu/userspace-rcu-0.12.2-r1.ebuild   | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.12.2-r1.ebuild 
b/dev-libs/userspace-rcu/userspace-rcu-0.12.2-r1.ebuild
new file mode 100644
index 00000000000..3f480a08e88
--- /dev/null
+++ b/dev-libs/userspace-rcu/userspace-rcu-0.12.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/6" # subslot = soname version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static-libs regression-test test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( sys-process/time )"
+
+src_configure() {
+       local myeconfargs=(
+               --enable-shared
+               $(use_enable static-libs static)
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+       find "${ED}" -type f -name "*.la" -delete || die
+}
+
+src_test() {
+       default
+       if use regression-test ; then
+               emake -C tests/regression regtest
+       fi
+}

Reply via email to