summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-04 13:38:03 +0100
committerSam James <sam@gentoo.org>2024-05-04 13:38:03 +0100
commit474aa44d6eda8ae27228266ac6db901fc5edb350 (patch)
treeb5c42b268aa857d37d387803c7c6918be42ffd0d /sys-devel/crossdev
parentdev-python/pdm-backend: Stabilize 2.2.1 arm64, #931178 (diff)
downloadgentoo-474aa44d6eda8ae27228266ac6db901fc5edb350.tar.gz
gentoo-474aa44d6eda8ae27228266ac6db901fc5edb350.tar.bz2
gentoo-474aa44d6eda8ae27228266ac6db901fc5edb350.zip
sys-devel/crossdev: add 20240504
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/crossdev')
-rw-r--r--sys-devel/crossdev/Manifest1
-rw-r--r--sys-devel/crossdev/crossdev-20240504.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index b2e88d73c28e..efbed4196e79 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1 +1,2 @@
DIST crossdev-20240209.tar.xz 30904 BLAKE2B b23c6c86796ce37968ce23a9399b068ecb78d6beb8e9b02ac11cd9e8b2f1c82f8905e615417525aa94d51f5da763841a8b9fc7cdc9b64d087a52b077adc92635 SHA512 5834cad934707f173529d7258f8230222e8d18903dea723b0051e06a8d974cab92f6aa7bbeef3a64aec0efd2d0b01f80b63503e78e30ddc1ba7e9a6a4ff08977
+DIST crossdev-20240504.tar.xz 30944 BLAKE2B 5af41b73d2effa5c9b75ec29b24ee50b8b40016860d67ec023c91ab761056c02d551c9aa6d76b5111fe258357143afbf0f086b82e063a3598f66ceaea8ecc227 SHA512 fce87721e91a76a7a9f9501694ff893b3f65fafa85a1d157d48e229e698d0a06ea1c2d3fbcb752357d632f4c3a736f52d31acf6e51be3019ccdc1038e7a20afa
diff --git a/sys-devel/crossdev/crossdev-20240504.ebuild b/sys-devel/crossdev/crossdev-20240504.ebuild
new file mode 100644
index 000000000000..dce8ce666896
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-20240504.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 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 ~ia64 ~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
+ fi
+
+ dodir /usr/share/config.site.d
+ mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
+}