add flex and doxygen (#532)

* add flex

* add doxygen

* update taskflow

* improve kind settings
pull/534/head
Hoildkv 4 years ago committed by GitHub
parent 0c51068376
commit f626c1de25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/b/bison/xmake.lua
  2. 34
      packages/d/doxygen/xmake.lua
  3. 20
      packages/f/flex/xmake.lua
  4. 1
      packages/m/m4/xmake.lua
  5. 2
      packages/t/taskflow/xmake.lua

@ -7,6 +7,7 @@ package("bison")
add_urls("http://ftp.gnu.org/gnu/bison/bison-$(version).tar.gz")
add_versions("3.7.4", "fbabc7359ccd8b4b36d47bfe37ebbce44805c052526d5558b95eda125d1677e2")
add_versions("3.7.6", "69dc0bb46ea8fc307d4ca1e0b61c8c355eb207d0b0c69f4f8462328e74d7b9ea")
if is_plat("linux") then
add_deps("m4")

@ -0,0 +1,34 @@
package("doxygen")
set_kind("binary")
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_deps("cmake", "bison", "flex")
add_deps("python 3.x", {kind = "binary"})
end
on_install("@windows", function (package)
os.mv("*.exe", package:installdir("bin"))
os.mv("*.dll", package:installdir("bin"))
end)
on_install("@macosx", "@linux", function (package)
import("package.tools.cmake").install(package)
end)
on_test(function (package)
os.vrun("doxygen -v")
end)

@ -0,0 +1,20 @@
package("flex")
set_kind("binary")
set_homepage("https://github.com/westes/flex/")
set_license("BSD-2-Clause")
add_urls("https://github.com/westes/flex/releases/download/v$(version)/flex-$(version).tar.gz")
add_versions("2.6.4", "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995")
if is_plat("linux") then
add_deps("m4")
end
on_install("macosx", "linux", function (package)
import("package.tools.autoconf").install(package)
end)
on_test(function (package)
os.vrun("flex -h")
end)

@ -7,6 +7,7 @@ package("m4")
add_urls("https://ftp.gnu.org/gnu/m4/m4-$(version).tar.xz",
"https://ftpmirror.gnu.org/m4/m4-$(version).tar.xz")
add_versions("1.4.18", "f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07")
add_versions("1.4.19", "63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96")
if is_host("macosx") then
-- fix crash from usage of %n in dynamic format strings on High Sierra

@ -2,9 +2,11 @@ package("taskflow")
set_homepage("https://taskflow.github.io/")
set_description("A fast C++ header-only library to help you quickly write parallel programs with complex task dependencies")
set_license("MIT")
add_urls("https://github.com/taskflow/taskflow.git")
add_urls("https://github.com/taskflow/taskflow/archive/$(version).tar.gz")
add_versions("v3.2.0", "26c37a494789fedc5de8d1f8452dc8a7774a220d02c14d5b19efe0dfe0359c0c")
add_versions("v3.1.0", "17b56e23312d20c4ad5cc497b9f42cd0ad4451dbd2df0160a0a692fd16d47143")
add_versions("v3.0.0", "553c88a6e56e115d29ac1520b8a0fea4557a5fcda1af1427bd3ba454926d03a2")

Loading…
Cancel
Save