pull/953/head
ruki 3 years ago committed by GitHub
parent d5991feb40
commit 9e227bfa88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      packages/l/libsv/xmake.lua

@ -0,0 +1,18 @@
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)
Loading…
Cancel
Save