summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-04-06 12:10:38 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-04-06 12:17:08 +0200
commit985e49ca4c3995b08e33076c97d5c650da7124fb (patch)
treeb044766d156b4ff20b73303d73ae4e13f7026be3 /dev-libs/userspace-rcu
parentdev-util/bear: add ~x86 keyword, rather (diff)
downloadgentoo-985e49ca4c3995b08e33076c97d5c650da7124fb.tar.gz
gentoo-985e49ca4c3995b08e33076c97d5c650da7124fb.tar.bz2
gentoo-985e49ca4c3995b08e33076c97d5c650da7124fb.zip
dev-libs/userspace-rcu: Revbump to drop .la files
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/userspace-rcu')
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.12.2-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
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 000000000000..3f480a08e886
--- /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
+}