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/ndis-driver-library | |
Diffstat (limited to 'vcpkg/ports/ndis-driver-library')
| -rw-r--r-- | vcpkg/ports/ndis-driver-library/portfile.cmake | 11 | ||||
| -rw-r--r-- | vcpkg/ports/ndis-driver-library/vcpkg.json | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/ndis-driver-library/portfile.cmake b/vcpkg/ports/ndis-driver-library/portfile.cmake new file mode 100644 index 0000000..a818006 --- /dev/null +++ b/vcpkg/ports/ndis-driver-library/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO microsoft/ndis-driver-library
+ REF "release/v${VERSION}"
+ SHA512 4f96c8769c9363e8e2abc89090d1342dc6b9f868c72434cd1943c3d6d52bc89195463eb7bb5aa6d128b31f1ae61a1fd5131e2fe859c1b591ef3a54de764661a3
+ HEAD_REF main
+)
+
+file(COPY "${SOURCE_PATH}/src/include/ndis" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/ndis-driver-library/vcpkg.json b/vcpkg/ports/ndis-driver-library/vcpkg.json new file mode 100644 index 0000000..93542ce --- /dev/null +++ b/vcpkg/ports/ndis-driver-library/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "ndis-driver-library", + "version": "1.2.0", + "description": "Code to make it easier to write an NDIS network driver on Windows", + "homepage": "https://github.com/microsoft/ndis-driver-library", + "license": "MIT" +} |