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
885 B
21 lines
885 B
package("libtool") |
|
|
|
set_kind("binary") |
|
set_homepage("https://www.gnu.org/software/libtool/") |
|
set_description("A generic library support script.") |
|
|
|
if is_host("macosx", "linux") then |
|
add_urls("http://ftpmirror.gnu.org/libtool/libtool-$(version).tar.gz", |
|
"https://mirrors.ustc.edu.cn/gnu/libtool/libtool-$(version).tar.gz", |
|
"git://git.savannah.gnu.org/libtool.git") |
|
add_versions("2.4.6", "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3") |
|
add_versions("2.4.5", "509cb49c7de14ce7eaf88993cf09fd4071882699dfd874c2e95b31ab107d6987") |
|
end |
|
|
|
on_install("macosx", "linux", function (package) |
|
import("package.tools.autoconf").install(package, {"--disable-dependency-tracking", "--enable-ltdl-install"}) |
|
end) |
|
|
|
on_test(function (package) |
|
os.vrun("libtool --version") |
|
end)
|
|
|