star9029 1 anno fa
parent
commit
bd6a0dce96
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      packages/a/asio2/xmake.lua

+ 4 - 4
packages/a/asio2/xmake.lua

@@ -4,18 +4,18 @@ package("asio2")
     set_description("Header only c++ network library, based on asio, support tcp,udp,http,websocket,rpc,ssl,icmp,serial_port.")
     set_description("Header only c++ network library, based on asio, support tcp,udp,http,websocket,rpc,ssl,icmp,serial_port.")
     set_license("BSL-1.0")
     set_license("BSL-1.0")
 
 
-    add_urls("https://github.com/zhllxt/asio2/archive/refs/tags/$(version).zip",
+    add_urls("https://github.com/zhllxt/asio2/archive/refs/tags/$(version).tar.gz",
              "https://github.com/zhllxt/asio2.git")
              "https://github.com/zhllxt/asio2.git")
 
 
-    add_versions("v2.9", "3ce0b41300954ffc13948bd51af6430e324b1c28e26d2eb5a83e775cf38c12b4")
+    add_versions("v2.9", "d173e83a22f6d4ec8697ac533f4cf71051b7aa5c550d24997d991610206dd534")
 
 
     add_patches("2.9", "patches/2.9/remove-const.patch", "6326f333ab2d0484c23bb3cd9cfd5a565030b5525d083677565a693f5f8803b6")
     add_patches("2.9", "patches/2.9/remove-const.patch", "6326f333ab2d0484c23bb3cd9cfd5a565030b5525d083677565a693f5f8803b6")
 
 
-    add_deps("asio", "cereal", "fmt", "openssl3")
+    add_deps("asio", "cereal", "openssl3")
     add_deps("spdlog", { configs = { header_only = false, fmt_external = true } })
     add_deps("spdlog", { configs = { header_only = false, fmt_external = true } })
 
 
     on_install("windows", "linux", "macosx", "mingw", "bsd", "cross", function (package)
     on_install("windows", "linux", "macosx", "mingw", "bsd", "cross", function (package)
-        os.cp(path.join("include", "*"), package:installdir("include"))
+        os.cp("include/*", package:installdir("include"))
     end)
     end)
 
 
     on_test(function (package)
     on_test(function (package)