phnt: add package (#2183)
parent
e5f39e0324
commit
e9b3041f17
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
package("phnt") |
||||
|
||||
set_kind("library", {headeronly = true}) |
||||
set_homepage("https://github.com/winsiderss/systeminformer") |
||||
set_description("Native API header files for the System Informer project.") |
||||
|
||||
set_urls("https://github.com/winsiderss/phnt.git") |
||||
add_versions("2023.6.18", "7c1adb8a7391939dfd684f27a37e31f18d303944") |
||||
|
||||
add_syslinks("ntdll") |
||||
|
||||
on_install("windows", function (package) |
||||
os.cp("*.h", package:installdir("include")) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_cincludes("phnt_windows.h")) |
||||
end) |
Loading…
Reference in new issue