aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/kuku
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/kuku
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/kuku')
-rw-r--r--vcpkg/ports/kuku/portfile.cmake23
-rw-r--r--vcpkg/ports/kuku/vcpkg.json17
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/kuku/portfile.cmake b/vcpkg/ports/kuku/portfile.cmake
new file mode 100644
index 0000000..0cfe1eb
--- /dev/null
+++ b/vcpkg/ports/kuku/portfile.cmake
@@ -0,0 +1,23 @@
+if(VCPKG_TARGET_IS_WINDOWS)
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+endif()
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO microsoft/Kuku
+ REF "v${VERSION}"
+ SHA512 4b0f0cae191c70d20337fb1581fa06a8fe363a942cf3a3b6be59fbef551b70446405fb1e4e5e7ec917d5519e8d2ad0ea59bd59c36dbf917e838fc1a1cd6a3bef
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ DISABLE_PARALLEL_CONFIGURE
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Kuku-2.1)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/kuku/vcpkg.json b/vcpkg/ports/kuku/vcpkg.json
new file mode 100644
index 0000000..df16f98
--- /dev/null
+++ b/vcpkg/ports/kuku/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "kuku",
+ "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",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}