mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-devel/crossdev: add 20260623
James Le Cuirot (1):
cross-pkg-config: Drop -I and -L output check because of EAPI 9
Nicolas PARLANT (2):
wrappers: linux: move ac_cv_func_memcmp_working
wrapppers: site: cleanup ac_cv_func_memcmp_working
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST crossdev-20260326.tar.xz 34568 BLAKE2B 78a0af449c1e3e0a27be8e7dfe8b4ddb17ba4425f21fb6fb9f4b4f414d9611e9bc4293ff6cbb52139e3682f9d1f6ea968fb5ed2f28f88069217cf7ce204312c5 SHA512 502e719b02785b5a535ca17dd29b1227bbc01f7e6bbdc1c15c4d6dd36da2d596e07566f2fe188a0850dfc159d3c883708975436d88262cad7d06cdf947a23379
|
||||
DIST crossdev-20260501.tar.xz 34624 BLAKE2B c162a2b3d9bf63721743adfbd0ac0a8838b057c99620ecce4fffe5479e9ea2804af1fb1794eacd3fd702490d20e1c59724feb641372e7e32d717ce07274db864 SHA512 d08df164e39ba67ae377c01b38bdd46cf8890ee93223ddc9fb947bda2648a6fa096aa99797abf2953ecc6035fb1a59ea54de826d3ebbae41e54ed6da412b151d
|
||||
DIST crossdev-20260617.tar.xz 34876 BLAKE2B a7a140f247583d82c705eb0b367b5da29b9446989033d250a06a486b7dd4965ca6bd0a1599d5e9ce2c8cae2628fa841a3eda1f5614f569090d35f07120186644 SHA512 5d975c328e6596adf02c05914cc3ffd80c8bc8870c48e747b566fccb48e4c21f02d1f57fa2756ac307eab7194428204bab0f9e9e82e4eb955f14eb13f9598056
|
||||
DIST crossdev-20260623.tar.xz 34448 BLAKE2B 3d6ecc1e2de99a7fadcc9741c2968dc8f6161f56b9608413be802cd0881e6e7b127f6001d9e65e2efd369860ff64a5802a7a637e564423521611203f1da1e594 SHA512 1a48164ccdae77541f7cbe6fffa803ab585192691a127bdb431d71c0a8381437f38610ca719181c6f223233d66181cba3838219aac934ebc6819a4609ebe1f6f
|
||||
|
||||
61
sys-devel/crossdev/crossdev-20260623.ebuild
Normal file
61
sys-devel/crossdev/crossdev-20260623.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# 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