aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/bext-di/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/bext-di/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/bext-di/portfile.cmake')
-rw-r--r--vcpkg/ports/bext-di/portfile.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/bext-di/portfile.cmake b/vcpkg/ports/bext-di/portfile.cmake
new file mode 100644
index 0000000..c050086
--- /dev/null
+++ b/vcpkg/ports/bext-di/portfile.cmake
@@ -0,0 +1,22 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO boost-ext/di
+ REF "v${VERSION}"
+ SHA512 354ca3db8b93e8077d77b35f849860583d621de60c931a0830517b4e918b2f88710e2894f7248098bf1ced328b6c31e88fec86762e148e26d62d5f2968e91f4d
+ HEAD_REF cpp14
+)
+
+file(INSTALL ${SOURCE_PATH}/include/boost
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+if ("extensions" IN_LIST FEATURES)
+ file(INSTALL ${SOURCE_PATH}/extension/include/boost
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+endif()
+
+vcpkg_download_distfile(LICENSE
+ URLS https://www.boost.org/LICENSE_1_0.txt
+ FILENAME "di-copyright"
+ SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
+)
+vcpkg_install_copyright(FILE_LIST "${LICENSE}")