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
449 B

package("curl")
set_kind("binary")
set_base("libcurl")
on_load(function (package)
package:base():plat_set(package:plat())
package:base():arch_set(package:arch())
package:base():script("load")(package)
end)
on_install("@windows", "@macosx", "@linux", function (package)
package:base():script("install")(package)
end)
on_test(function (package)
os.vrun("curl --version")
end)