Merge pull request 'smhttp: 添加新包' (#1) from dev into main
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package("smhttp")
|
||||
set_homepage("https://gitea.youmetme.wang/youmetme/smhttp.git")
|
||||
set_description("HTTP state machine parser")
|
||||
|
||||
add_urls("ssh://git@gitea.youmetme.wang:9122/youmetme/smhttp.git")
|
||||
add_versions("0.1.0","v0.1.0")
|
||||
|
||||
on_install(function (package)
|
||||
import("package.tools.xmake").install(package)
|
||||
end)
|
||||
|
||||
on_test(function (package)
|
||||
assert(package:has_cfuncs("http_parser_execute", {includes = "smhttp.h"}))
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user