From 82ac5c841b8181e99d00c76dbc8dd29c619bb926 Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Mon, 7 Sep 2026 13:20:41 +0200 Subject: categorize packages --- testing/samurai/1.3.lua | 36 ------------------------------------ testing/sys-build/samurai/1.3.lua | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 testing/samurai/1.3.lua create mode 100644 testing/sys-build/samurai/1.3.lua (limited to 'testing') diff --git a/testing/samurai/1.3.lua b/testing/samurai/1.3.lua deleted file mode 100644 index c84e4a1..0000000 --- a/testing/samurai/1.3.lua +++ /dev/null @@ -1,36 +0,0 @@ -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 = { - "make", - "cc", - }, -} - -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 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 -- cgit v1.3