diff options
| author | forever2k38 <forever2k38@noreply.codeberg.org> | 2026-09-07 13:20:41 +0200 |
|---|---|---|
| committer | forever2k38 <forever2k38@noreply.codeberg.org> | 2026-09-07 13:20:41 +0200 |
| commit | 82ac5c841b8181e99d00c76dbc8dd29c619bb926 (patch) | |
| tree | 2206955b96d696229420dac5a18808616af27bca /testing/sys-build/samurai/1.3.lua | |
| parent | 6649d2bd7b512f96a42ed9035291f97b4a5ef3c5 (diff) | |
categorize packages
Diffstat (limited to 'testing/sys-build/samurai/1.3.lua')
| -rw-r--r-- | testing/sys-build/samurai/1.3.lua | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/sys-build/samurai/1.3.lua b/testing/sys-build/samurai/1.3.lua new file mode 100644 index 0000000..732ad89 --- /dev/null +++ b/testing/sys-build/samurai/1.3.lua @@ -0,0 +1,36 @@ +local package = {} + +local lfs = require("lfs") + +package.name = "samurai" +package.version = "1.3" +package.description = "ninja compatible build tool written in C" +package.arch = { "x86_64" } +package.license = { "MIT", "Apache", "ISC" } + +package.deps = { + build = { + { provides = "cc" }, + { provides = "make" }, + }, +} + +package.sources = { + { + path = "https://github.com/michaelforney/samurai/releases/download/1.3/samurai-1.3.tar.gz", + hash = "1bc020a9e133432df51911ac71cc34322f828934d9a2282ba2916d88c15976af", + out = "source.tar.gz", + }, +} + +package.build = function() + print(lfs.currentdir()) + + pow.extract("source.tar.gz", "source") + + lfs.chdir("source/samurai-1.3") + + os.execute("make") +end + +return package |
