From 6992620a5932d43344e354b2408b6f0a26c99467 Mon Sep 17 00:00:00 2001 From: Violet Purcell Date: Wed, 4 Oct 2023 12:38:11 -0400 Subject: app-alternatives/ninja: new package to control ninja symlink Signed-off-by: Violet Purcell Signed-off-by: Sam James --- app-alternatives/ninja/metadata.xml | 16 ++++++++++++++++ app-alternatives/ninja/ninja-1.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 app-alternatives/ninja/metadata.xml create mode 100644 app-alternatives/ninja/ninja-1.ebuild (limited to 'app-alternatives') diff --git a/app-alternatives/ninja/metadata.xml b/app-alternatives/ninja/metadata.xml new file mode 100644 index 000000000000..20bceb308997 --- /dev/null +++ b/app-alternatives/ninja/metadata.xml @@ -0,0 +1,16 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + + vimproved@inventati.org + Violet Purcell + + + Symlink to dev-util/ninja. + Symlink to dev-util/samurai. + + diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild new file mode 100644 index 000000000000..bcb516b5373f --- /dev/null +++ b/app-alternatives/ninja/ninja-1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ALTERNATIVES=( + "reference:>=dev-util/ninja-1.11.1-r3" + samurai:dev-util/samurai +) + +inherit app-alternatives + +DESCRIPTION="ninja symlinks" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND="!