|
|
@ -4,10 +4,12 @@ package("dirent") |
|
|
|
set_description("C/C++ library for retrieving information on files and directories") |
|
|
|
set_description("C/C++ library for retrieving information on files and directories") |
|
|
|
set_license("MIT") |
|
|
|
set_license("MIT") |
|
|
|
|
|
|
|
|
|
|
|
add_urls("https://github.com/tronkko/dirent.git") |
|
|
|
add_urls("https://github.com/tronkko/dirent/archive/refs/tags/$(version).tar.gz", |
|
|
|
add_versions("2023.5.21", "ab35ddf7611b19529e0d7ef7e9719429483dcddd") |
|
|
|
"https://github.com/tronkko/dirent.git") |
|
|
|
|
|
|
|
|
|
|
|
on_install("windows", function (package) |
|
|
|
add_versions("1.24", "37009127a65bb1ddc47d06c097321f87f45ca2e998b2ec3bf2e0b2b19649d6f9") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
on_install("windows", "mingw", "msys", "cygwin", function (package) |
|
|
|
os.cp("include", package:installdir()) |
|
|
|
os.cp("include", package:installdir()) |
|
|
|
end) |
|
|
|
end) |
|
|
|
|
|
|
|
|
|
|
|