mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
app-alternatives/ninja: Sync with Gentoo
It's from Gentoo commit 0bc26d0779f0c933a5c1b5a93cde15a0a9e051bc.
This commit is contained in:
parent
5d2c5ff4cf
commit
e5e40b8c58
@ -10,7 +10,7 @@
|
||||
<name>Violet Purcell</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="reference">Symlink to dev-util/ninja.</flag>
|
||||
<flag name="samurai">Symlink to dev-util/samurai.</flag>
|
||||
<flag name="reference">Symlink to dev-build/ninja.</flag>
|
||||
<flag name="samurai">Symlink to dev-build/samurai.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 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
|
||||
"reference:>=dev-build/ninja-1.11.1-r3"
|
||||
samurai:dev-build/samurai
|
||||
)
|
||||
|
||||
inherit app-alternatives
|
||||
@ -13,7 +13,7 @@ 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="!<dev-util/ninja-1.11.1-r3"
|
||||
RDEPEND="!<dev-build/ninja-1.11.1-r3"
|
||||
|
||||
src_install() {
|
||||
local alt=$(get_alternative)
|
||||
|
Loading…
x
Reference in New Issue
Block a user