diff options
| author | eli <wbn@striated.space> | 2021-09-03 09:57:20 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-02 17:57:20 -0700 |
| commit | 5512566ae7c06327a0df9d753b1705ab291026b3 (patch) | |
| tree | 09b1d0f09ca16461b0e7596fd52f971f4cafabfe /ports | |
| parent | 006e5a7b307eae7c6f080d90ba4771f07a779a43 (diff) | |
| download | vcpkg-5512566ae7c06327a0df9d753b1705ab291026b3.tar.gz vcpkg-5512566ae7c06327a0df9d753b1705ab291026b3.zip | |
[lager] add port (#19661)
* add lager port
* run `vcpkg x-add-version --all`
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/lager/portfile.cmake | 27 | ||||
| -rw-r--r-- | ports/lager/vcpkg.json | 23 |
2 files changed, 50 insertions, 0 deletions
diff --git a/ports/lager/portfile.cmake b/ports/lager/portfile.cmake new file mode 100644 index 000000000..8df28b481 --- /dev/null +++ b/ports/lager/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO arximboldi/lager + REF 5924508df1e08752274404818c460c80f0666bb8 + SHA512 ee186b82dd1d729454c61207b48fb80ac8a861511ff501fab499aff5d3ba123ca669f89bdbbd37f120af6dc11a651ba6c163250b5ca94e6290657a35870618d7 + HEAD_REF master +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + docs lager_BUILD_DOCS +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Dlager_BUILD_EXAMPLES=OFF + -Dlager_BUILD_TESTS=OFF + ${FEATURE_OPTIONS} +) + + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Lager) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/lager/vcpkg.json b/ports/lager/vcpkg.json new file mode 100644 index 000000000..af6e3d565 --- /dev/null +++ b/ports/lager/vcpkg.json @@ -0,0 +1,23 @@ +{ + "name": "lager", + "version-date": "2021-06-17", + "description": "C++ library for value-oriented design using the unidirectional data-flow architecture", + "homepage": "https://sinusoid.es/lager/", + "dependencies": [ + "boost-hana", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + }, + "zug" + ], + "features": { + "docs": { + "description": "Build documentation" + } + } +} |
