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 40745159C96 for ; Sun, 28 Jul 2024 13:05:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8078B2BC027; Sun, 28 Jul 2024 13:05:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 589742BC027 for ; Sun, 28 Jul 2024 13:05:22 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B1CA335D21 for ; Sun, 28 Jul 2024 13:05:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0BBD1D87 for ; Sun, 28 Jul 2024 13:05:19 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1722171908.4b7cc82cc54c61b3c2da17ff584c301cf2fecc63.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-config/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/binutils-config/Manifest sys-devel/binutils-config/binutils-config-5.5.1.ebuild X-VCS-Directories: sys-devel/binutils-config/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 4b7cc82cc54c61b3c2da17ff584c301cf2fecc63 X-VCS-Branch: master Date: Sun, 28 Jul 2024 13:05:19 +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: 571599ad-a24c-4415-bd78-f87f0ae794fd X-Archives-Hash: 30097ef6acf627f2ed84bb9b1b567f67 commit: 4b7cc82cc54c61b3c2da17ff584c301cf2fecc63 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Jul 28 13:04:32 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Jul 28 13:05:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7cc82c sys-devel/binutils-config: add 5.5.1 Signed-off-by: Andreas K. Hüttel gentoo.org> sys-devel/binutils-config/Manifest | 1 + .../binutils-config/binutils-config-5.5.1.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest index de1dcd4ed1a2..b3300cdccd34 100644 --- a/sys-devel/binutils-config/Manifest +++ b/sys-devel/binutils-config/Manifest @@ -1 +1,2 @@ +DIST binutils-config-5.5.1.tar.xz 7548 BLAKE2B 37699e93c154a527a274763185b9678d6576ecebcfa5c5322c9f17322db2373743bff93c8c276152905d91d8e31e64c331d9ff8c09b1e223863970b4763c8fc4 SHA512 350c837e454e57ddf2b29d9a6e83e23f8b9981accc2fe337e29979d2714ecd5136024b6d57b895d531b035d198f42e164c86d6e9e0d6f5e8793fb6b0128c6994 DIST binutils-config-5.5.tar.xz 7344 BLAKE2B decef43013ca2f7c6d36c12d08d55f499d866b6b1b55ed58f8b2df3761077b5e2c4d09d1f2c40762d42c2d3b9827575833a502b79180ef13b845f1a39a5f2feb SHA512 6f6e21799b47e38cd61621e4ec018dc0db4811f363c0817025c3e3be651d3790b30a0cab233f35fe40b1d57c88daa246037f24a7488187f4e47cca589d87d45b diff --git a/sys-devel/binutils-config/binutils-config-5.5.1.ebuild b/sys-devel/binutils-config/binutils-config-5.5.1.ebuild new file mode 100644 index 000000000000..5d0c152438f5 --- /dev/null +++ b/sys-devel/binutils-config/binutils-config-5.5.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/binutils-config.git" + inherit git-r3 +else + SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz" + # KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Utility to change the binutils version being used" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Toolchain" + +LICENSE="GPL-2 GPL-2+" +SLOT="0" +IUSE="+native-symlinks" + +# We also RDEPEND on sys-apps/findutils which is in base @system +RDEPEND="sys-apps/gentoo-functions" + +src_compile() { + emake PV="${PV}" USE_NATIVE_LINKS="$(usex native-symlinks)" +} + +src_install() { + emake DESTDIR="${D}" PV="${PV}" install +} + +pkg_postinst() { + # Re-register all targets. USE flags or new versions can change + # installed symlinks. + local x + for x in $(binutils-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do + binutils-config ${x} + done +}