mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
sys-devel/crossdev: drop 20260501-r1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST crossdev-20260501.tar.xz 34624 BLAKE2B c162a2b3d9bf63721743adfbd0ac0a8838b057c99620ecce4fffe5479e9ea2804af1fb1794eacd3fd702490d20e1c59724feb641372e7e32d717ce07274db864 SHA512 d08df164e39ba67ae377c01b38bdd46cf8890ee93223ddc9fb947bda2648a6fa096aa99797abf2953ecc6035fb1a59ea54de826d3ebbae41e54ed6da412b151d
|
||||
DIST crossdev-20260623.tar.xz 34448 BLAKE2B 3d6ecc1e2de99a7fadcc9741c2968dc8f6161f56b9608413be802cd0881e6e7b127f6001d9e65e2efd369860ff64a5802a7a637e564423521611203f1da1e594 SHA512 1a48164ccdae77541f7cbe6fffa803ab585192691a127bdb431d71c0a8381437f38610ca719181c6f223233d66181cba3838219aac934ebc6819a4609ebe1f6f
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit eapi9-ver 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://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"
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] || ver_replacing -lt 20260501-r1; then
|
||||
ewarn "crossdev requires another repository exist on the system for"
|
||||
ewarn "its generated ebuilds. It uses the 'crossdev' repository by default,"
|
||||
ewarn "and otherwise the first non-gentoo repository it finds."
|
||||
ewarn
|
||||
ewarn "If you do not already have a 'crossdev' repository,"
|
||||
ewarn "it is recommended that you create one with the following steps:"
|
||||
ewarn " installing app-eselect/eselect-repository"
|
||||
ewarn " running eselect repository create crossdev"
|
||||
ewarn
|
||||
ewarn "Alternatively, always invoke crossdev with --ov-output NAME.".
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user