aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/wyhash/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/wyhash/portfile.cmake')
-rw-r--r--vcpkg/ports/wyhash/portfile.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/wyhash/portfile.cmake b/vcpkg/ports/wyhash/portfile.cmake
new file mode 100644
index 0000000..3d2e881
--- /dev/null
+++ b/vcpkg/ports/wyhash/portfile.cmake
@@ -0,0 +1,11 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO wangyi-fudan/wyhash
+ REF 408620b6d12b7d667b3dd6ae39b7929a39e8fa05
+ SHA512 c7778ea13edd097e5c6e29b3974f22b387abfa565b93c26cd0e37062fe57d233b75989d37853354a68aec7989568d15fd1be46d18f55549920ed6dbaf52937a5
+ HEAD_REF master
+)
+
+file(INSTALL "${SOURCE_PATH}/wyhash.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)