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 618621382C5 for ; Tue, 12 May 2020 10:01:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C150E0943; Tue, 12 May 2020 10:01:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 5E283E0943 for ; Tue, 12 May 2020 10:01:34 +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 E88EF34FFA7 for ; Tue, 12 May 2020 10:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D378F1F2 for ; Tue, 12 May 2020 10:01:29 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1589277687.5339f103bb8ca8ebd621b4d020b319c0ee91f18d.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/librtas/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/librtas/librtas-2.0.2-r1.ebuild X-VCS-Directories: sys-libs/librtas/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5339f103bb8ca8ebd621b4d020b319c0ee91f18d X-VCS-Branch: master Date: Tue, 12 May 2020 10:01:29 +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: 45012f1f-688b-4e51-a2a5-791c4c6bfece X-Archives-Hash: 6c7c7d35c926bac2cc174aead9da2b55 commit: 5339f103bb8ca8ebd621b4d020b319c0ee91f18d Author: Jeroen Roovers gentoo org> AuthorDate: Tue May 12 09:59:56 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue May 12 10:01:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5339f103 sys-libs/librtas: EAPI=7 and other minor fixes - EAPI=7 - Do not install static libraries by default - Fix docdir - Prune libtool files Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers gentoo.org> sys-libs/librtas/librtas-2.0.2-r1.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/sys-libs/librtas/librtas-2.0.2-r1.ebuild b/sys-libs/librtas/librtas-2.0.2-r1.ebuild new file mode 100644 index 00000000000..d366c246764 --- /dev/null +++ b/sys-libs/librtas/librtas-2.0.2-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="A set of libraries for userspace access to RTAS on the PowerPC platform(s)" +HOMEPAGE="https://github.com/ibm-power-utilities/librtas" +SRC_URI="https://github.com/ibm-power-utilities/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~ppc ~ppc64" +IUSE="static-libs" + +DOCS="README" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install docdir=/usr/share/doc/${PF} + find "${D}" -name '*.la' -delete || die +}