xmake.lua 607 B

12345678910111213141516
  1. package("sys_wait_h")
  2. set_kind("library", {headeronly = true})
  3. set_homepage("https://github.com/win32ports/sys_wait_h")
  4. set_description("header-only Windows implementation of the <sys/wait.h> header")
  5. set_license("MIT")
  6. add_urls("https://github.com/win32ports/sys_wait_h.git")
  7. add_versions("2019.05.12", "229dee8de9cb4c29a3a31115112a4175df84a8eb")
  8. on_install("windows", function (package)
  9. os.cp("sys", package:installdir("include"))
  10. end)
  11. on_test(function (package)
  12. assert(package:has_cfuncs("wait", {includes = "sys/wait.h"}))
  13. end)