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.
21 lines
793 B
21 lines
793 B
package("mono") |
|
|
|
set_homepage("https://www.mono-project.com/") |
|
set_description("Cross platform, open source .NET development framework") |
|
|
|
set_urls("https://download.mono-project.com/sources/mono/mono-$(version).tar.xz", |
|
{version = function (version) return version:gsub("%+", ".") end}) |
|
|
|
add_versions("6.8.0+123", "e2e42d36e19f083fc0d82f6c02f7db80611d69767112af353df2f279744a2ac5") |
|
|
|
add_includedirs("include/mono-2.0") |
|
|
|
on_install("macosx", "linux", function (package) |
|
local configs = {"--disable-silent-rules", "--enable-nls=no"} |
|
import("package.tools.autoconf").install(package, configs) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cfuncs("mono_object_get_class", {includes = "mono/metadata/object.h"})) |
|
end) |
|
|
|
|