|
|
|
@ -4,28 +4,17 @@ package("doxygen") |
|
|
|
|
set_homepage("https://www.doxygen.nl/") |
|
|
|
|
set_license("GPL-2.0") |
|
|
|
|
|
|
|
|
|
if is_host("windows") then |
|
|
|
|
if is_arch("x86") then |
|
|
|
|
add_urls("https://doxygen.nl/files/doxygen-$(version).windows.bin.zip") |
|
|
|
|
add_versions("1.9.1", "c9782f545be757dac6e424f5347b7bbf1169da927058dc9954d801a5e8399de5") |
|
|
|
|
elseif is_arch("x64") then |
|
|
|
|
add_urls("https://doxygen.nl/files/doxygen-$(version).windows.x64.bin.zip") |
|
|
|
|
add_versions("1.9.1", "deb8e6e5f21c965ec07fd32589d0332eff047f2c8658b5c56be4839a5dd43353") |
|
|
|
|
end |
|
|
|
|
else |
|
|
|
|
add_urls("https://doxygen.nl/files/doxygen-$(version).src.tar.gz") |
|
|
|
|
add_versions("1.9.1", "67aeae1be4e1565519898f46f1f7092f1973cce8a767e93101ee0111717091d1") |
|
|
|
|
add_urls("https://doxygen.nl/files/doxygen-$(version).src.tar.gz", {alias = "archive"}) |
|
|
|
|
add_urls("https://github.com/doxygen/doxygen.git", {alias = "github"}) |
|
|
|
|
add_versions("archive:1.9.3", "f352dbc3221af7012b7b00935f2dfdc9fb67a97d43287d2f6c81c50449d254e0") |
|
|
|
|
add_versions("github:1.9.3", "Release_1_9_3") |
|
|
|
|
add_versions("github:1.9.2", "Release_1_9_2") |
|
|
|
|
add_versions("github:1.9.1", "Release_1_9_1") |
|
|
|
|
|
|
|
|
|
add_deps("cmake", "bison", "flex") |
|
|
|
|
add_deps("python 3.x", {kind = "binary"}) |
|
|
|
|
end |
|
|
|
|
add_deps("cmake", "bison", "flex", {private = true}) |
|
|
|
|
add_deps("python 3.x", {kind = "binary", private = true}) |
|
|
|
|
|
|
|
|
|
on_install("@windows", function (package) |
|
|
|
|
os.mv("*.exe", package:installdir("bin")) |
|
|
|
|
os.mv("*.dll", package:installdir("bin")) |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
on_install("@macosx", "@linux", function (package) |
|
|
|
|
on_install("@windows", "@macosx", "@linux", function (package) |
|
|
|
|
import("package.tools.cmake").install(package) |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|