commit: bd4e543083928b7f78d9a6c14a9eb483d656861b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 18:47:33 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 18:47:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4e5430
sys-devel/crossdev: add 20241215
Sam James (3):
crossdev: nvptx: refine multilib comment
crossdev: adapt to sys-devel/llvm -> llvm-core/llvm rename
crossdev: adapt to sys-libs/compiler-rt -> llvm-runtimes/compiler-rt
rename
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/crossdev/Manifest | 1 +
sys-devel/crossdev/crossdev-20241215.ebuild | 40 +++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 14cb96bf2262..e975ab1e55a7 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1,2 +1,3 @@
DIST crossdev-20240921.tar.xz 31008 BLAKE2B
9daeabcbeefa32624d71b86c5ddeb1f6bf6ccdf4e6f590bf7517388d4d68b73ae2651ca09d122f128f002568127bd5d7d767db9d6c043e5330b62c3104929848
SHA512
6b7f0bce309d2b0a8fdf9b28cf72098de9dafaf7f338a8308e94e2068cefc15cd2407eee39a9eeb0ea0a1bc46569cedc69a51bb01f140faebe374b660cb1cdf6
DIST crossdev-20241202.tar.xz 33032 BLAKE2B
74ec859e1ae5f816397349c18f8bd98d8fae2f4de471112d70621767733a6c91dfffaabb33afc4bdabf5bed31b83a0cdf8afaffaba3e0df95f70d43cf249fb94
SHA512
c6a8c534135aa15b2005546d3f006953570de1e54ae3d3170c71bed62f044c2db79412ecde3b91fd85fca92e7c996762ba086db29c6132f6f1d9e9a48f1e79ea
+DIST crossdev-20241215.tar.xz 33028 BLAKE2B
3b33284f55fe41a45bfeea1dbc273a828eeceada38d4274f9fcaab06a1d9b342efaa0fcad407bb5a5d921515acc18dac0e4923240e2610a425f7c508b6274ecd
SHA512
84960b518767aacc7400cfa32d36b15492dd5e3908c36c0f513470fdfbaedde04d24aecaf0f5020bf69cd7c2095da1cc2961ae090e90340a176292299bbfaf25
diff --git a/sys-devel/crossdev/crossdev-20241215.ebuild
b/sys-devel/crossdev/crossdev-20241215.ebuild
new file mode 100644
index 000000000000..398d083f2a5c
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-20241215.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+if [[ ${PV} == "99999999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="
+ https://anongit.gentoo.org/git/proj/crossdev.git
+ https://github.com/gentoo/crossdev
+ "
+else
+
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc
~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo Cross-toolchain generator"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+ >=sys-apps/portage-2.1
+ app-shells/bash
+ sys-apps/gentoo-functions
+ sys-apps/config-site
+"
+BDEPEND="app-arch/xz-utils"
+
+src_install() {
+ default
+
+ if [[ ${PV} == "99999999" ]] ; then
+ sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev
|| die
+ fi
+
+ dodir /usr/share/config.site.d
+ mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
+}