aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/kdalgorithms/portfile.cmake
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/kdalgorithms/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/kdalgorithms/portfile.cmake')
-rw-r--r--vcpkg/ports/kdalgorithms/portfile.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/kdalgorithms/portfile.cmake b/vcpkg/ports/kdalgorithms/portfile.cmake
new file mode 100644
index 0000000..7c025d6
--- /dev/null
+++ b/vcpkg/ports/kdalgorithms/portfile.cmake
@@ -0,0 +1,15 @@
+# header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO KDAB/KDAlgorithms
+ REF ${VERSION}
+ SHA512 5d877b8aa16aae870276a542554aa1b39ae2daa863e77ebaa248ca1427a92179611dd7c7cd98e88fc6a406905f404f052f9c891b8a49d64582dfc2ba857118f6
+)
+
+file(INSTALL "${SOURCE_PATH}/src/kdalgorithms.h" "${SOURCE_PATH}/src/kdalgorithms_bits"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
+
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")