Diff crossdev-20241215 with a crossdev-99999999
| /usr/portage/sys-devel/crossdev/crossdev-99999999.ebuild 2025-07-29 16:22:17.916470157 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI="8" |
| 5 | 5 | |
| 6 |
inherit toolchain-funcs |
|
| 7 | ||
| 6 | 8 |
if [[ ${PV} == "99999999" ]] ; then
|
| 7 | 9 |
inherit git-r3 |
| 8 | 10 |
EGIT_REPO_URI=" |
| ... | ... | |
| 11 | 13 |
" |
| 12 | 14 |
else |
| 13 | 15 |
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
| 14 |
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" |
|
| 15 | 17 |
fi |
| 16 | 18 | |
| 17 | 19 |
DESCRIPTION="Gentoo Cross-toolchain generator" |
| ... | ... | |
| 29 | 31 |
BDEPEND="app-arch/xz-utils" |
| 30 | 32 | |
| 31 | 33 |
src_install() {
|
| 34 |
tc-export PKG_CONFIG # Bug 955822 |
|
| 35 | ||
| 32 | 36 |
default |
| 33 | 37 | |
| 34 | 38 |
if [[ ${PV} == "99999999" ]] ; then
|
| 35 | 39 |
sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
|
| 40 |
else |
|
| 41 |
sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die
|
|
| 36 | 42 |
fi |
| 37 | 43 | |
| 38 | 44 |
dodir /usr/share/config.site.d |