From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08F361382C5 for ; Tue, 6 Apr 2021 10:17:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DEFEE086B; Tue, 6 Apr 2021 10:17:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32E02E086B for ; Tue, 6 Apr 2021 10:17:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41FDD340D4D for ; Tue, 6 Apr 2021 10:17:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D46DA634 for ; Tue, 6 Apr 2021 10:17:16 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1617704228.985e49ca4c3995b08e33076c97d5c650da7124fb.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/userspace-rcu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/userspace-rcu/userspace-rcu-0.12.2-r1.ebuild X-VCS-Directories: dev-libs/userspace-rcu/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 985e49ca4c3995b08e33076c97d5c650da7124fb X-VCS-Branch: master Date: Tue, 6 Apr 2021 10:17:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 584502dd-9b2a-4fb9-8480-19219da44596 X-Archives-Hash: f056c21efcdb06483f2f27cd81369bb5 commit: 985e49ca4c3995b08e33076c97d5c650da7124fb Author: Lars Wendler gentoo org> AuthorDate: Tue Apr 6 10:10:38 2021 +0000 Commit: Lars Wendler gentoo 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 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 +}