From 9dc29dd62e2f608436a5401619948587d9a4304b Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 1 Jul 2024 07:18:52 +0000 Subject: [PATCH] sys-devel/crossdev: Sync with Gentoo It's from Gentoo commit dc03a1b93d33a392a7297b11778c9d953e7e7d83. --- .../sys-devel/crossdev/Manifest | 1 + .../crossdev/crossdev-20240507.ebuild | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20240507.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest index b2e88d73c2..62df80487c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest @@ -1 +1,2 @@ DIST crossdev-20240209.tar.xz 30904 BLAKE2B b23c6c86796ce37968ce23a9399b068ecb78d6beb8e9b02ac11cd9e8b2f1c82f8905e615417525aa94d51f5da763841a8b9fc7cdc9b64d087a52b077adc92635 SHA512 5834cad934707f173529d7258f8230222e8d18903dea723b0051e06a8d974cab92f6aa7bbeef3a64aec0efd2d0b01f80b63503e78e30ddc1ba7e9a6a4ff08977 +DIST crossdev-20240507.tar.xz 30952 BLAKE2B 566cf0a8449b18431e4b90bd0d0687d39bdc6ed40eeb8eaf87e7200e2b2eea2cc8461fded034a8ce2dd9983ee3e6e79a719c6e37e5c1afe9fdb8a3b545be7601 SHA512 c40b9bb33cc0c13475fe651d95db498c16f89baf5bab0e28c44864eea2119eeac28827040dc3476eb0826fe2cce1b43614047b8fdc5fbf1bc3cddbf68c1b0d74 diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20240507.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20240507.ebuild new file mode 100644 index 0000000000..dce8ce6668 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20240507.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 ~ia64 ~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 +}