diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /sys-devel/binutils-config | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sys-devel/binutils-config')
-rw-r--r-- | sys-devel/binutils-config/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/binutils-config/binutils-config-5.5.2.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest index 94640e0ba0b7..fe538d700ac9 100644 --- a/sys-devel/binutils-config/Manifest +++ b/sys-devel/binutils-config/Manifest @@ -1,4 +1,6 @@ +DIST binutils-config-5.5.2.tar.xz 7548 BLAKE2B a4fe6f2039c4963ba09fb63b52bf3707b91eed36b514132c0c23da2474b9af6d2fd5b8eaef2dd8f44827f5d38095c936685765d3c4cc7404d06c4ac069cf1102 SHA512 c53118c1ce4b87c0446b1b9993fadabe2bd7447dafc9a2bf795a5e3b802348b4fa8aede06284a0c86f80f23b221b037a0404d5424f2f5aa796e8a3ea6945328c DIST binutils-config-5.5.tar.xz 7344 BLAKE2B decef43013ca2f7c6d36c12d08d55f499d866b6b1b55ed58f8b2df3761077b5e2c4d09d1f2c40762d42c2d3b9827575833a502b79180ef13b845f1a39a5f2feb SHA512 6f6e21799b47e38cd61621e4ec018dc0db4811f363c0817025c3e3be651d3790b30a0cab233f35fe40b1d57c88daa246037f24a7488187f4e47cca589d87d45b +EBUILD binutils-config-5.5.2.ebuild 1064 BLAKE2B 772555e59c273452276ef4569e0685127f4a8362f0cb71acace904e9a54d71ec6bbf29c93279534352361a4e44a0a25e8073f3660ad67d18368ed7ab7a58dcbc SHA512 da098f90e2a65047bcb52ab27b4cb805a6b3c5ea40eb60b8f6af4e9bf4aad352ebff3064be8dca6ab693a1d7a487e539d42adfaa044f93144beba3a3739f0123 EBUILD binutils-config-5.5.ebuild 1068 BLAKE2B 0367c1170db751a4ed41f6020b09e77f6131943215c5277b202de44806388bf4dc941107c4c34343b1552943538f6d58da4ed2a0f609813f4d8b0bd557c738c7 SHA512 8bbb57b6942a67893b6ca346c5889662ba4c04079c2417b49131a9470bc32a572d8fdd28718cd9719f85330c7adbbca46aa82cfa98ccd00fbd6dab6347254bfa EBUILD binutils-config-9999.ebuild 1076 BLAKE2B a945707428efc1c9b37af2bc60e64aa3990c8222e2418b048fd723d78774392217d562462c7ea9d2928affbd79b1684304c5e7d7bfdfc9f9f11a3445929fd49f SHA512 5800e6cd2abc7f1923181f41012d85cea8a2120068b5e614ba2cedc82191778881cb6f6de5731b67320e5702a2d71bab0609a02f767c21cce7d08761b442d895 MISC metadata.xml 564 BLAKE2B 74266e85bc64997362d09b99d2b739dd5e78fce2a4329dd01e0d44c909743e1b384c62c3f87c62b5945b00b5d851077008fe6aa4e1c4944860cd8d9a84431171 SHA512 26117ff041aa4a5ad7c143d60fbf18ab08f73a05fcec58faa559b86f5b774cbe5cb260e8fb6a7b664947b2f722bbba976bd37b998c13fa797ab7aa04d46c4489 diff --git a/sys-devel/binutils-config/binutils-config-5.5.2.ebuild b/sys-devel/binutils-config/binutils-config-5.5.2.ebuild new file mode 100644 index 000000000000..293dcd362259 --- /dev/null +++ b/sys-devel/binutils-config/binutils-config-5.5.2.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 +} |