[lager] add port (#19661)

* add lager port

* run `vcpkg x-add-version --all`

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
eli 2021-09-03 09:57:20 +09:00 committed by GitHub
parent 006e5a7b30
commit 5512566ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 63 additions and 0 deletions

View File

@ -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)

23
ports/lager/vcpkg.json Normal file
View File

@ -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"
}
}
}

View File

@ -3024,6 +3024,10 @@
"baseline": "2021-08-06",
"port-version": 0
},
"lager": {
"baseline": "2021-06-17",
"port-version": 0
},
"lapack": {
"baseline": "3",
"port-version": 1

9
versions/l-/lager.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "cc45cef2ecee354f255b9026c8397ca850259ab3",
"version-date": "2021-06-17",
"port-version": 0
}
]
}