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)