logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: a727b70d2ddf40a74e2f777efc06597a0f8b9f56
parent fd34a681d8b0439ffc1ebceaf1ac6667ed0642ff
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 13 Jan 2024 08:07:13 +0100

dev-lang/mrustc: treeclean

Diffstat:

Ddev-lang/mrustc/Manifest1-
Ddev-lang/mrustc/mrustc-0.10-r1.ebuild38--------------------------------------
2 files changed, 0 insertions(+), 39 deletions(-)

diff --git a/dev-lang/mrustc/Manifest b/dev-lang/mrustc/Manifest @@ -1 +0,0 @@ -DIST mrustc-0.10.tar.gz 1180322 BLAKE2B 8fc34888076ca61e0115a0934c10c9357c7a3e76ed7fdde555082f9922d1d54bf9d759add7bd6ef57e30913748f2f1633f17e8ffed07ed12bc60b7f09e718bd8 SHA512 6d6e002700d97aed9d08ca3ab17574cfe83b8029067a9060ade3e68f49f3d3ff4ac801b002686306e0828824e6407b526907ca68df9d045eb8444aa4a353fdeb diff --git a/dev-lang/mrustc/mrustc-0.10-r1.ebuild b/dev-lang/mrustc/mrustc-0.10-r1.ebuild @@ -1,38 +0,0 @@ -# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Alternative rust compiler (re-implementation)" -HOMEPAGE="https://github.com/thepowersgang/mrustc" -SRC_URI="https://github.com/thepowersgang/mrustc/archive/refs/tags/v0.10.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPENDS="sys-libs/zlib:=" -DOCS=( docs/ Notes/ README.md ) - -src_prepare() { - default - - sed -i \ - -e 's/\$(shell git symbolic-ref -q --short HEAD || git describe --tags --exact-match)/v${PV}/' \ - -e 's/\$(shell git diff-index --quiet HEAD; echo $$?)/0/' \ - Makefile || die - - sed -i '/objcopy --only-keep-debug/,/strip/d' Makefile || die - sed -i '/objcopy --only-keep-debug/,/strip/d' tools/minicargo/Makefile || die -} - -src_compile() { - emake all - emake -C tools/minicargo -} - -src_install() { - einstalldocs - dobin bin/mrustc - dobin bin/minicargo -}