diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/phnt | |
Diffstat (limited to 'vcpkg/ports/phnt')
| -rw-r--r-- | vcpkg/ports/phnt/portfile.cmake | 12 | ||||
| -rw-r--r-- | vcpkg/ports/phnt/vcpkg.json | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/phnt/portfile.cmake b/vcpkg/ports/phnt/portfile.cmake new file mode 100644 index 0000000..8846c45 --- /dev/null +++ b/vcpkg/ports/phnt/portfile.cmake @@ -0,0 +1,12 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO winsiderss/phnt + REF 48759c9b5916a359df706789f71053e49b528a18 + SHA512 1e0735cc3be3a2679a82f715159d68d9e4b2c52fa754e6166003163ed61ec3faafc8281129d95edf5c035f1e3f4c0a003f66d72a22108f778bf1f187df2bb459 + HEAD_REF master +) + +file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h) +file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) diff --git a/vcpkg/ports/phnt/vcpkg.json b/vcpkg/ports/phnt/vcpkg.json new file mode 100644 index 0000000..56b6972 --- /dev/null +++ b/vcpkg/ports/phnt/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "phnt", + "version-date": "2025-02-05", + "description": "Windows Native API header files", + "homepage": "https://github.com/winsiderss/phnt" +} |