logo

overlay

My (experimental) gentoo overlay
commit: 43ecadf98464073eb3347dcd31542785f8ec364e
parent: f3e3327ed589125cfe14ff4a65058bedcb28a1c7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  8 Mar 2019 08:57:55 +0100

dev-util/samurai: Bump to 0.6

Diffstat:

Mdev-util/samurai/Manifest1+
Mdev-util/samurai/metadata.xml3+++
Adev-util/samurai/samurai-0.6.ebuild21+++++++++++++++++++++
3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/dev-util/samurai/Manifest b/dev-util/samurai/Manifest @@ -1 +1,2 @@ DIST samurai-0.5.tar.gz 27086 BLAKE2B cd92cfcc131c8e97182b86ac81a5da5044b26e83d2b462e39a01fe0e8d0d7e4cc8586689f4601e8575cde608af841ed74f91868457e6b21acf01fac6999b29f7 SHA512 8664c3c46d9f9a541c79906fb4264941c3226b6b9f7312275e6633c8501f8c34a8025d31b2b32163198db09eb28c9f92a2e2fd8356b18f689551ddf42bae9e5f +DIST samurai-0.6.tar.gz 27020 BLAKE2B 28ff9c4b001785af82d7b10ab3e4cdedef6546096c44515ddf76563bed78b5878e6678ccc5a8a35d3a72e5018d69407950e91d990ac87eb80458ff6247d124c3 SHA512 c111a20b1f85877b1ed68b1e40f8972e15dba3a7e58380103352fa975170598f7ecd591ca173e270ba6039026967d4bb5a5d2f80a963c64b39d36160a85574b4 diff --git a/dev-util/samurai/metadata.xml b/dev-util/samurai/metadata.xml @@ -5,4 +5,7 @@ <email>contact@hacktivis.me</email> <name>Haelwenn (lanodan) Monnier</name> </maintainer> + <use> + <flag name="replace">Create a symlink which overrides <pkg>dev-util/ninja</pkg> implementation</flag> + </use> </pkgmetadata> diff --git a/dev-util/samurai/samurai-0.6.ebuild b/dev-util/samurai/samurai-0.6.ebuild @@ -0,0 +1,21 @@ +# Copyright 2017-2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="ninja-compatible build tool written in C" +HOMEPAGE="https://github.com/michaelforney/samurai" +SRC_URI="https://github.com/michaelforney/samurai/releases/download/${PV}/${P}.tar.gz" +LICENSE="ISC Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="replace" +RDEPEND="replace? ( !dev-util/ninja )" + +src_install() { + default + + if use replace; then + dosym samu /usr/bin/ninja + fi +}