aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/kuku/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/kuku/portfile.cmake')
-rw-r--r--vcpkg/ports/kuku/portfile.cmake23
1 files changed, 23 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")