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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 636CF158043 for ; Sat, 20 Apr 2024 19:17:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C5F6E29EA; Sat, 20 Apr 2024 19:17:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72B15E29EA for ; Sat, 20 Apr 2024 19:17:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 940343430D9 for ; Sat, 20 Apr 2024 19:17:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF06716F9 for ; Sat, 20 Apr 2024 19:17:01 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1713640606.b8ddda03538920c3114441dfc6c9560336930de1.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/rpmatch-standalone/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild X-VCS-Directories: sys-libs/rpmatch-standalone/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: b8ddda03538920c3114441dfc6c9560336930de1 X-VCS-Branch: master Date: Sat, 20 Apr 2024 19:17:01 +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: fd0adc51-53eb-43b5-9edd-39e794c166fa X-Archives-Hash: 98348844e4f95dd20b3b628ff6e9e7a6 commit: b8ddda03538920c3114441dfc6c9560336930de1 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 20 19:16:46 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 20 19:16:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ddda03 sys-libs/rpmatch-standalone: EAPI 6 -> 8 Signed-off-by: Arthur Zamarin gentoo.org> .../rpmatch-standalone-1.0-r1.ebuild | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild b/sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild new file mode 100644 index 000000000000..7310a10e2914 --- /dev/null +++ b/sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Standalone rpmatch library for use with musl" +HOMEPAGE="https://github.com/pullmoll/musl-rpmatch" +SRC_URI="https://github.com/pullmoll/musl-rpmatch/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/musl-rpmatch-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" +IUSE="static-libs" + +RDEPEND="!sys-libs/glibc" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + + insinto /usr/$(get_libdir)/pkgconfig/ + newins musl-rpmatch.pc ${PN}.pc +}