From 9540fa567f1c7a93f492a241d5a146ab5dd44a5b Mon Sep 17 00:00:00 2001 From: taynpg Date: Thu, 5 Mar 2026 12:47:06 +0800 Subject: [PATCH] =?UTF-8?q?zoost=E5=BA=93=E6=B7=BB=E5=8A=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/z/zoost/xmake.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/z/zoost/xmake.lua diff --git a/packages/z/zoost/xmake.lua b/packages/z/zoost/xmake.lua new file mode 100644 index 0000000..18807dd --- /dev/null +++ b/packages/z/zoost/xmake.lua @@ -0,0 +1,18 @@ +package("zoost") + set_description("The zoost package") + + add_urls("https://www.sinxmiao.cn/taynpg/zoost.git") + add_versions("0.1", "2ea77764211294da6feeeafea0255f13619555e0") + + on_install(function (package) + local configs = {} + if package:config("shared") then + configs.kind = "shared" + end + import("package.tools.xmake").install(package, configs) + end) + + on_test(function (package) + -- TODO check includes and interfaces + -- assert(package:has_cfuncs("foo", {includes = "foo.h"}) + end)