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.
23 lines
784 B
23 lines
784 B
package("tbox") |
|
|
|
set_homepage("http://www.tboox.org") |
|
set_description("A glib-like multi-platform c library") |
|
|
|
add_urls("https://github.com/tboox/tbox/archive/$(version).zip") |
|
add_urls("https://github.com/tboox/tbox.git") |
|
add_urls("https://gitlab.com/tboox/tbox.git") |
|
add_urls("https://gitee.com/tboox/tbox.git") |
|
|
|
add_versions("v1.6.2", "5236090b80374b812c136c7fe6b8c694418cbfc9c0a820ec2ba35ff553078c7b") |
|
add_versions("v1.6.3", "bc5a957cdb1610c19f0cf94497ad114a0e01fd7d569777e9cb2133c513ef6baa") |
|
|
|
on_load(function (package) |
|
if package:debug() then |
|
package:addvar("defines", "__tb_debug__") |
|
end |
|
end) |
|
|
|
on_install(function (package) |
|
import("package.tools.xmake").install(package, {demo = false}) |
|
end) |
|
|
|
|