logo

overlay

My (experimental) gentoo overlay

ninja-1.9.0.ebuild (450B)


      1 # Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=7
      5 
      6 DESCRIPTION="Fake virtual ebuild to allow dev-util/samurai"
      7 LICENSE="public-domain"
      8 SLOT="virtual"
      9 KEYWORDS="~amd64"
     10 IUSE="samurai"
     11 RDEPEND="
     12 	samurai? (
     13 		dev-util/samurai
     14 		!dev-util/ninja:0
     15 	)
     16 	!samurai? ( dev-util/ninja:0 )
     17 "
     18 
     19 S="${WORKDIR}"
     20 
     21 src_install() {
     22 	use samurai && dosym samu /usr/bin/ninja
     23 }