dev-build/samurai: add 1.3

Signed-off-by: Spencer Pavkovic <smp@nandre.com>
Part-of: https://github.com/gentoo/gentoo/pull/46113
Closes: https://github.com/gentoo/gentoo/pull/46113
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Spencer Pavkovic
2026-04-16 16:30:21 +01:00
committed by Sam James
parent eb2760dbd2
commit 1b8d336c1d
2 changed files with 29 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST samurai-1.2.tar.gz 32709 BLAKE2B 86ed79f7d6ab492216cf3bf0e19ff8be8c1ca37e5c99de84b457875fa710d720624bd0de53105ed0b1d382c417aeb7397929cb9a35a8d1b36a11e053bf8d7ff5 SHA512 bbe6a582c34b04f1df53b76c1647aa3e03c4698ebf7591a203935f11ffa05971bbcb86dc1a8c06aeb904cdc741abb08918122810fc47216fed0a6d9f87fd1225
DIST samurai-1.3.tar.gz 33562 BLAKE2B 82d1c27fce5c21769e241ae15e5143e064847c65d6681fdd5d3f2df0ec9d36e8d71645e5cf44370ca5d2a56d6037a4452389d04583f227aaaeae48c2bdcfff54 SHA512 f155745fdb90cca07d8e7178e60337173fee3a8f1dadc3773a80fe189f5864229afb409d946fb2a418820d7e6ef8332cd9e3e3627abd170146802277f30b4b4e
+28
View File
@@ -0,0 +1,28 @@
# 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
}