package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
614 B

package("libsv")
set_homepage("https://github.com/uael/sv")
set_description("libsv - Public domain cross-platform semantic versioning in c99")
add_urls("https://github.com/uael/sv.git")
add_versions("2021.11.27", "10ee6a807466a5e61309201caea360a113ad3862")
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)
assert(package:has_cfuncs("semver(0,0)", {includes = "semver.h"}))
end)