Samurai is a C99 implementation of ninja, with no dependency. This document tries to explain, step by step, how to create an OpenIndiana package for Samurai.
This document is based on this OpenIndiana documentation, and my own experimentation, with the help of developpers on IRC (channel #openindianaon libera.chat).
OpenIndiana provides a git repository, named oi-userland, on github to make such creation easier.
Before creating the package, user rbac role
should be set, as well as common build tools: