mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-12 15:46:14 +02:00
sys-devel/crossdev: Sync with Gentoo
It's from Gentoo commit 0b6c571fab1bb6ddaf484f99cb5b918a5ee72429. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
7c08ac632a
commit
1bfdffb79d
@ -1,4 +1,2 @@
|
||||
DIST crossdev-20250410.tar.xz 33292 BLAKE2B b4c41757ff705866fb3c7420e10d1325977937c50801600002639984dd39b90ebf4fadbde5a09bae02eba2ca17261db32f5275b1599858b2b7c961e3eb85d82f SHA512 aa6c1657d23c96b6109e49ac517dd9550d731f0af508359be55fa8c641675bd4205223eb492e7c94fd69dd86999124d7d0f4766cf1bc17a3dd953f457bf85c9b
|
||||
DIST crossdev-20250622.tar.xz 33316 BLAKE2B 6e91e757174ce6b5c5f6ec5276725e0432f061ea7c21b0c215998d453deed285c422c1f25c313c80de2d2fe86a00751fbb516f40b63f1bcc25602d3eb0353351 SHA512 bdba3da3724d56b43e0d307b4f9fc00f9680ec541a9397d91f92d237980f7e4b300618e8e8484ee8410ecfd3b0c8854d54057ddb646e2182e407e21c503b9fa9
|
||||
DIST crossdev-20251008.tar.xz 33852 BLAKE2B 4b689da747d73eb592cd6a1b0913084e28ab9882762a24c3fe90b845247ad13fad2c5e61a9d05312607716dfa464b7f1647eb731def555010bdc9bcdaaffe2a4 SHA512 414f45ede604dd6a770bec9032619f153d585d03a4f967e34b46253fcfaa7cace495f3ddbb00921b5efa4f2e3a6b68db9e15117559e557048203b273a0d29a3e
|
||||
DIST crossdev-20251214.tar.xz 33892 BLAKE2B 02a97ef33ad3515a0bca9dd09636fe1b1bc9f5ac47663655cf4343d6b46738bf2281ae14ee28fb02f5c9bfdd06aaca41ef04559c3fcb9595c853a79d56099fae SHA512 a78e1cce83514d46de42a3e55a261e25fca9dbf8c4264a752fe896a8a9ed431db37214d69ec65062b3e981482d6fa7ff4e82e02c881612fd7e0ea1c1c6a6b0a0
|
||||
DIST crossdev-20260326.tar.xz 34568 BLAKE2B 78a0af449c1e3e0a27be8e7dfe8b4ddb17ba4425f21fb6fb9f4b4f414d9611e9bc4293ff6cbb52139e3682f9d1f6ea968fb5ed2f28f88069217cf7ce204312c5 SHA512 502e719b02785b5a535ca17dd29b1227bbc01f7e6bbdc1c15c4d6dd36da2d596e07566f2fe188a0850dfc159d3c883708975436d88262cad7d06cdf947a23379
|
||||
DIST crossdev-20260501.tar.xz 34624 BLAKE2B c162a2b3d9bf63721743adfbd0ac0a8838b057c99620ecce4fffe5479e9ea2804af1fb1794eacd3fd702490d20e1c59724feb641372e7e32d717ce07274db864 SHA512 d08df164e39ba67ae377c01b38bdd46cf8890ee93223ddc9fb947bda2648a6fa096aa99797abf2953ecc6035fb1a59ea54de826d3ebbae41e54ed6da412b151d
|
||||
|
||||
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2025 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
|
||||
else
|
||||
sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die
|
||||
fi
|
||||
|
||||
dodir /usr/share/config.site.d
|
||||
mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
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() {
|
||||
tc-export PKG_CONFIG # Bug 955822
|
||||
|
||||
default
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
|
||||
else
|
||||
sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die
|
||||
fi
|
||||
|
||||
dodir /usr/share/config.site.d
|
||||
mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
@ -12,7 +12,7 @@ if [[ ${PV} == "99999999" ]] ; then
|
||||
https://github.com/gentoo/crossdev
|
||||
"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
||||
SRC_URI="https://distfiles.gentoo.org/pub/proj/toolchain/crossdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
fi
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
@ -12,8 +12,8 @@ if [[ ${PV} == "99999999" ]] ; then
|
||||
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"
|
||||
SRC_URI="https://distfiles.gentoo.org/pub/proj/toolchain/crossdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Gentoo Cross-toolchain generator"
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
@ -12,7 +12,7 @@ if [[ ${PV} == "99999999" ]] ; then
|
||||
https://github.com/gentoo/crossdev
|
||||
"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
||||
SRC_URI="https://distfiles.gentoo.org/pub/proj/toolchain/crossdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user