commit:     90086142b8928c12c36fafaac816810e83e5cae4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 02:01:39 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 02:01:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90086142

sys-devel/crossdev: add 20220205

Closes: https://bugs.gentoo.org/832059
Closes: https://bugs.gentoo.org/830453
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crossdev/Manifest                 |  1 +
 sys-devel/crossdev/crossdev-20220205.ebuild | 36 +++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index a855b5bb440f..9c6baba8f100 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -2,3 +2,4 @@ DIST crossdev-20210621.tar.xz 28588 BLAKE2B 
33ff6069c85cbcff6bf34bf5f6dd8050bd5f
 DIST crossdev-20210718.tar.xz 28640 BLAKE2B 
1e9b9313a5c9a1cb4d82f00e4979794d61b9eaa0035c575ac55092c6c015d820a590c5816d212a4ffad95b96a3dd99a9b94ca7c20b78a7d7b062f16dec6ed329
 SHA512 
e1a37aebf759abaa30f071f43a528f9059b83456e71fd86fc8202a7eff5c506c1f34fdd260c7b91a03f491b9f2a107ce6a65c2314845a352176fcc5a27a766e2
 DIST crossdev-20211027.tar.xz 28752 BLAKE2B 
058d6254c702709c18cc426fe15d7a11cb856336236837a15c0b2cb0c2389198f8b0ea9893e7cdadd6ecdabb3e75c05b64c22448324ce2ea86032cb57e92a5d9
 SHA512 
6c15d71fb551dcb5cb8e95d7e3b1ecb52b34e47335842408da5acc9d258c1a5fa7e4699681b9b414b1b444df98601aa8b99b2000700485ec6028c076abeafd03
 DIST crossdev-20211121.tar.xz 28700 BLAKE2B 
bfe637dcd3c5b6d45e289d6298de18cab4b70b5d21a817a9207b91360b489457b9ee10266a1c2641f8dfac09dffb166bf1565a7e519ba41f84c6d5c2000f5158
 SHA512 
5189fa7639b819dfffc8f994bb557d8d83f115b82cd61d938db77fdcf16a33cc9d0147f9708b3bed22fdc4ace27ac863436813ebad94876ae767172ac0cbb9ce
+DIST crossdev-20220205.tar.xz 29088 BLAKE2B 
46e90557f0a6df49e4f6ab7be6495514a188c4366868290d3b6b879ad1e5741e1600bca237735290f7e9278d441534569853b582cd85b96581c6ae0517cb4c54
 SHA512 
72e7cf690d49a87b32f6fdad2462fd4156e4e35a3f0b5f30911012a2b7936bb999575f757547a7a805c0cfdd1fd0caa8b23bf61e72c4333096314043ed565f40

diff --git a/sys-devel/crossdev/crossdev-20220205.ebuild 
b/sys-devel/crossdev/crossdev-20220205.ebuild
new file mode 100644
index 000000000000..605240d7bf07
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-20220205.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 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";
+else
+       SRC_URI="mirror://gentoo/${P}.tar.xz
+               
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
+               https://dev.gentoo.org/~vapier/dist/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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-portage/portage-utils-0.55
+       app-shells/bash
+       sys-apps/gentoo-functions
+"
+BDEPEND="app-arch/xz-utils"
+
+src_install() {
+       default
+
+       if [[ "${PV}" == "99999999" ]] ; then
+               sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev 
|| die
+       fi
+}

Reply via email to