improve json-c

pull/13/head
ruki 6 years ago
parent dccdb0558b
commit 461941d5ee
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 13
      packages/j/json-c/xmake.lua

@ -3,17 +3,16 @@ package("json-c")
set_homepage("https://github.com/json-c/json-c/wiki")
set_description("JSON parser for C")
set_urls("https://github.com/json-c/json-c/archive/json-c-$(version)-20180305.tar.gz")
set_urls("https://github.com/json-c/json-c/archive/json-c-$(version)-20180305.zip")
add_versions("0.13.1", "5d867baeb7f540abe8f3265ac18ed7a24f91fe3c5f4fd99ac3caba0708511b90")
add_versions("0.13.1", "8a244527eb4f697362f713f7d6dca3f6f9b5335e18fe7b705130ae62e599e864")
if is_host("windows") then
if is_plat("windows") and winos.version():gt("winxp") then
add_deps("cmake")
on_install("windows", function (package)
import("package.tools.cmake").install(package)
end)
end
on_install("windows", function (package)
import("package.tools.cmake").install(package)
end)
on_install("linux", "macosx", function (package)
local configs = {"--disable-dependency-tracking", "--disable-silent-rules"}

Loading…
Cancel
Save