diff --git a/ports/kuku/portfile.cmake b/ports/kuku/portfile.cmake index 72d97bfe87..0cfe1ebf44 100644 --- a/ports/kuku/portfile.cmake +++ b/ports/kuku/portfile.cmake @@ -1,11 +1,13 @@ -vcpkg_check_linkage(ONLY_STATIC_LIBRARY) +if(VCPKG_TARGET_IS_WINDOWS) + vcpkg_check_linkage(ONLY_STATIC_LIBRARY) +endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO microsoft/Kuku - REF 1338c4ae2211ab4c739022ff57f48ce5a76531d5 - SHA512 6cba13b7fc8c453acbfcb4921ee3acc9c3e91d4bba0e01480ea396e17f85288d0179342090111a2e3c056b6918c7b09ec63c41116eb4021e63c54acc19631156 - HEAD_REF master + REF "v${VERSION}" + SHA512 4b0f0cae191c70d20337fb1581fa06a8fe363a942cf3a3b6be59fbef551b70446405fb1e4e5e7ec917d5519e8d2ad0ea59bd59c36dbf917e838fc1a1cd6a3bef + HEAD_REF main ) vcpkg_cmake_configure( @@ -18,5 +20,4 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Kuku-2.1) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") -# Handle copyright -file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/kuku/vcpkg.json b/ports/kuku/vcpkg.json index dfdc17885e..df16f989c0 100644 --- a/ports/kuku/vcpkg.json +++ b/ports/kuku/vcpkg.json @@ -1,9 +1,9 @@ { "name": "kuku", - "version": "2.1", - "port-version": 3, - "description": "Kuku is a simple open-source (MIT licensed) cuckoo hashing library developed by the Cryptography and Privacy Research group at Microsoft.", + "version": "2.1.0", + "description": "Kuku is a compact and convenient cuckoo hashing library written in C++.", "homepage": "https://github.com/microsoft/Kuku", + "license": "MIT", "dependencies": [ { "name": "vcpkg-cmake", diff --git a/versions/baseline.json b/versions/baseline.json index cf5993ab94..c9018d47d4 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3941,8 +3941,8 @@ "port-version": 1 }, "kuku": { - "baseline": "2.1", - "port-version": 3 + "baseline": "2.1.0", + "port-version": 0 }, "kvasir-mpl": { "baseline": "2019-08-06", diff --git a/versions/k-/kuku.json b/versions/k-/kuku.json index dfac4be8c2..7257778ae1 100644 --- a/versions/k-/kuku.json +++ b/versions/k-/kuku.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "55d5b6509ad53b413c0f4bd71a15f71ab79d8c8b", + "version": "2.1.0", + "port-version": 0 + }, { "git-tree": "1a78898dbb7cbacda021768b5468af708035474b", "version": "2.1",