diff --git a/ports/wyhash/portfile.cmake b/ports/wyhash/portfile.cmake new file mode 100644 index 00000000000000..599801b9b06579 --- /dev/null +++ b/ports/wyhash/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO wangyi-fudan/wyhash + REF a5995b98ebfa7bd38bfadc0919326d2e7aabb805 + SHA512 bf052e5f645af10c1fcee910f6afbcfdcd3c6b06a640f809ac112edd0ea2fe5ec00daacd9fe8489b310b5c6264c1fc69c68668331b3112b66b2cf0618ed18f47 + 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) diff --git a/ports/wyhash/vcpkg.json b/ports/wyhash/vcpkg.json new file mode 100644 index 00000000000000..e7ea073427f64a --- /dev/null +++ b/ports/wyhash/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "wyhash", + "version-date": "2022-10-12", + "description": "The FASTEST QUALITY hash function, random number generators (PRNG) and hash map.", + "homepage": "https://github.com/wangyi-fudan/wyhash", + "license": "Unlicense" +} diff --git a/versions/baseline.json b/versions/baseline.json index a87589f2f5e30f..26c0d8045579c0 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7940,6 +7940,10 @@ "baseline": "3.2.1", "port-version": 1 }, + "wyhash": { + "baseline": "2022-10-12", + "port-version": 0 + }, "x-plane": { "baseline": "3.0.3", "port-version": 1 diff --git a/versions/w-/wyhash.json b/versions/w-/wyhash.json new file mode 100644 index 00000000000000..9eb8a2234ca15d --- /dev/null +++ b/versions/w-/wyhash.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "630fa73f4c0f907cd3aee92b7b485574a2e59172", + "version-date": "2022-10-12", + "port-version": 0 + } + ] +}