Diff crossdev-20260326 with a crossdev-20260501-r1
| /usr/portage/sys-devel/crossdev/crossdev-20260501-r1.ebuild 2026-05-27 19:17:04.732301909 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI="8" |
| 5 | 5 | |
| 6 |
inherit toolchain-funcs |
|
| 6 |
inherit eapi9-ver toolchain-funcs |
|
| 7 | 7 | |
| 8 | 8 |
if [[ ${PV} == "99999999" ]] ; then
|
| 9 | 9 |
inherit git-r3 |
| ... | ... | |
| 13 | 13 |
" |
| 14 | 14 |
else |
| 15 | 15 |
SRC_URI="https://distfiles.gentoo.org/pub/proj/toolchain/crossdev/${P}.tar.xz"
|
| 16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" |
|
| 16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
| 17 | 17 |
fi |
| 18 | 18 | |
| 19 | 19 |
DESCRIPTION="Gentoo Cross-toolchain generator" |
| ... | ... | |
| 44 | 44 |
dodir /usr/share/config.site.d |
| 45 | 45 |
mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
|
| 46 | 46 |
} |
| 47 | ||
| 48 |
pkg_postinst() {
|
|
| 49 |
if [[ -z ${REPLACING_VERSIONS} ]] || ver_replacing -lt 20260501-r1; then
|
|
| 50 |
ewarn "crossdev requires another repository exist on the system for" |
|
| 51 |
ewarn "its generated ebuilds. It uses the 'crossdev' repository by default," |
|
| 52 |
ewarn "and otherwise the first non-gentoo repository it finds." |
|
| 53 |
ewarn |
|
| 54 |
ewarn "If you do not already have a 'crossdev' repository," |
|
| 55 |
ewarn "it is recommended that you create one with the following steps:" |
|
| 56 |
ewarn " installing app-eselect/eselect-repository" |
|
| 57 |
ewarn " running eselect repository create crossdev" |
|
| 58 |
ewarn |
|
| 59 |
ewarn "Alternatively, always invoke crossdev with --ov-output NAME.". |
|
| 60 |
fi |
|
| 61 |
} |
|