diff options
Diffstat (limited to 'vcpkg/ports/vmaware-vm-detection')
| -rw-r--r-- | vcpkg/ports/vmaware-vm-detection/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/vmaware-vm-detection/vcpkg.json | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/vmaware-vm-detection/portfile.cmake b/vcpkg/ports/vmaware-vm-detection/portfile.cmake new file mode 100644 index 0000000..1e3781f --- /dev/null +++ b/vcpkg/ports/vmaware-vm-detection/portfile.cmake @@ -0,0 +1,13 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO kernelwernel/VMAware + REF v${VERSION} + SHA512 be149227b9a06980c737248077726ab2157265304cf840773cdf84c3bcaba8d0fd922a5a2ada5dbf73646a0d02888933b21a8aa9c5c18158525d09d89688097f + HEAD_REF master +) + +# Header only +set(VCPKG_BUILD_TYPE release) +file(INSTALL "${SOURCE_PATH}/src/vmaware_MIT.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/vmaware" RENAME "vmaware.hpp") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/vmaware-vm-detection/vcpkg.json b/vcpkg/ports/vmaware-vm-detection/vcpkg.json new file mode 100644 index 0000000..0fb3f04 --- /dev/null +++ b/vcpkg/ports/vmaware-vm-detection/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "vmaware-vm-detection", + "version": "2.2.0", + "description": "VM detection library", + "homepage": "https://github.com/kernelwernel/VMAware", + "license": "MIT" +} |