dev-build/samurai - 1.3 (gentoo)

Search

Install

Install this version:

emerge -a =dev-build/samurai-1.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-build/samurai-1.3

Or alternatively:

emerge --autounmask-write -a =dev-build/samurai-1.3

Package Information

Description:
ninja-compatible build tool written in C
Homepage:
https://github.com/michaelforney/samurai
License:
ISC Apache-2.0 MIT

Ebuild Details

Version EAPI Keywords Slot
1.3 8 ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="ninja-compatible build tool written in C"
HOMEPAGE="https://github.com/michaelforney/samurai"
if [[ "${PV}" == *9999 ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/michaelforney/samurai.git"
else
	SRC_URI="https://github.com/michaelforney/samurai/releases/download/${PV}/${P}.tar.gz"
	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi

LICENSE="ISC Apache-2.0 MIT"
SLOT="0"

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
	dodoc README.md
}

Inherited Eclasses

Manifest for 1.3

Type File Size Source URLs
DIST samurai-1.3.tar.gz 33562 bytes https://github.com/michaelforney/samurai/releases/download/1.3/samurai-1.3.tar.gz