diff options
Diffstat (limited to 'vcpkg/ports/bext-di')
| -rw-r--r-- | vcpkg/ports/bext-di/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/bext-di/vcpkg.json | 11 |
2 files changed, 33 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}") diff --git a/vcpkg/ports/bext-di/vcpkg.json b/vcpkg/ports/bext-di/vcpkg.json new file mode 100644 index 0000000..f21a7ef --- /dev/null +++ b/vcpkg/ports/bext-di/vcpkg.json @@ -0,0 +1,11 @@ +{ + "name": "bext-di", + "version": "1.3.2", + "description": "C++14 Dependency Injection Library.", + "homepage": "https://github.com/boost-ext/di", + "features": { + "extensions": { + "description": "Build with extensions included" + } + } +} |