[cpp-lazy] add new port (#46175)

This commit is contained in:
toge 2025-06-27 03:33:51 +09:00 committed by GitHub
parent 274a3168f8
commit 3b78d4e814
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Kaaserne/cpp-lazy
REF "${VERSION}"
SHA512 9ca34fc3c532602e1e92480080a020eb9f44de751159f9fd028552413f15f08f9705898eacb306668ab3cb243bb629b7f9e68078a0fcd882b886154b6bd69430
HEAD_REF master
)
# header-only
set(VCPKG_BUILD_TYPE "release")
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME cpp-lazy CONFIG_PATH lib/cmake/cpp-lazy)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

17
ports/cpp-lazy/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "cpp-lazy",
"version": "8.0.1",
"description": "C++11 (and onwards) library for lazy evaluation ",
"homepage": "https://github.com/Kaaserne/cpp-lazy",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1972,6 +1972,10 @@
"baseline": "1.0.1",
"port-version": 0
},
"cpp-lazy": {
"baseline": "8.0.1",
"port-version": 0
},
"cpp-netlib": {
"baseline": "0.13.0",
"port-version": 10

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "e5b9aeb15614e9ea580a39d803f09f561e6dd28f",
"version": "8.0.1",
"port-version": 0
}
]
}