commit:     e1214306a0f10fff29dd052617a54489b2e88380
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 30 14:48:35 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 14:48:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1214306

sys-devel/crossdev: add 20241130.3

Sam James (2):
      crossdev: nvptx needs multilib
      Makefile: fix tarball generation

Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crossdev/Manifest                   |  1 +
 sys-devel/crossdev/crossdev-20241130.3.ebuild | 40 +++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index ef19b888e2b5..0cf141298c78 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1,3 +1,4 @@
 DIST crossdev-20240921.tar.xz 31008 BLAKE2B 
9daeabcbeefa32624d71b86c5ddeb1f6bf6ccdf4e6f590bf7517388d4d68b73ae2651ca09d122f128f002568127bd5d7d767db9d6c043e5330b62c3104929848
 SHA512 
6b7f0bce309d2b0a8fdf9b28cf72098de9dafaf7f338a8308e94e2068cefc15cd2407eee39a9eeb0ea0a1bc46569cedc69a51bb01f140faebe374b660cb1cdf6
 DIST crossdev-20241130.2.tar.xz 32856 BLAKE2B 
ffcca5a7743fa6217ad23c97c5b122628a5950558f16413c1f52457d6fdd942dd2207c8f01e4a7c57712c051e5d0b66eff586d1d3141bc6d917aed4151df561c
 SHA512 
28f7e914d56f7a9658292be8e5fdc57d1d0c1d57c8f4f00cfad493261ad94fb2edf19b4c34b926a1ea7b9da12c4f6be5fb8fee338074c5c8c554f15e996e670b
+DIST crossdev-20241130.3.tar.xz 32916 BLAKE2B 
6bac26d79850f5ba0d12ef904e40d8540082e2bd58d7ecaf175dccea13bfb90f6cf41950b4bf3443fad8ec37e77dc8a2767aa6bd278306cedc0a48b6484c689c
 SHA512 
b157d0b2b49fbd7b31d764ddfeeb223839cb62707b3ed88b4ce254d568640265f7dbcea96314d4fb7dd6039578450b8c0a090f5311eb22618e0c3679d77c8649
 DIST crossdev-20241130.tar.xz 32832 BLAKE2B 
eaf14cf139abf73816f9facd090846c92d3056e34eb4d7f9bca2c2f4b22e9d3f342e93dac70b462b252b64eb86270f666d151170a6474961342a26f152919f69
 SHA512 
59054ba5015c18c9b80e2258391f667ad4585644009ab74b631557e8c6550270e188967515a13ab0dd8e27272c6e5f0650a77e8c100dadbc2686cd8796a62c00

diff --git a/sys-devel/crossdev/crossdev-20241130.3.ebuild 
b/sys-devel/crossdev/crossdev-20241130.3.ebuild
new file mode 100644
index 000000000000..398d083f2a5c
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-20241130.3.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
+}

Reply via email to