parent
7f48b413f4
commit
0cabb09786
1 changed files with 15 additions and 0 deletions
@ -0,0 +1,15 @@ |
||||
package("branchless-utf8") |
||||
set_kind("library", {headeronly = true}) |
||||
set_homepage("https://github.com/skeeto/branchless-utf8") |
||||
set_description("Branchless UTF-8 decoder") |
||||
|
||||
add_urls("https://github.com/skeeto/branchless-utf8.git") |
||||
add_versions("2022.08.30", "e4d82fd5ddae98658f8c129006e3bc5acd0ae9f1") |
||||
|
||||
on_install(function (package) |
||||
os.cp("*.h", package:installdir("include")) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_cfuncs("utf8_decode", {includes = "utf8.h"})) |
||||
end) |
Loading…
Reference in new issue