[tl-ranges] Add new port (#21820)

* [tl-ranges] New port

* Update baseline

* Correct port version

* Correct baseline version

* Update versions/t-/tl-ranges.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update tl-ranges.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
Sy Brand 2021-12-07 04:40:08 +00:00 committed by GitHub
parent 738720268b
commit 1b6be5d678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO TartanLlama/ranges
REF f1aa65d89cee16071f1f5b21e32df5f8ff0d1688
SHA512 0b94ceba4aaa26a2aefff7837df7b832aea79a5822fb33f18ba47610aed7341ff173b23b8fe9dbf8060c144edd44ae916a3c71db440a66f3c1e8f7bdab27d767
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DRANGES_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -0,0 +1,12 @@
{
"name": "tl-ranges",
"version-date": "2021-12-02",
"description": "Ranges that didn't make C++20",
"homepage": "https://tl.tartanllama.xyz",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -6828,6 +6828,10 @@
"baseline": "1.0.0",
"port-version": 2
},
"tl-ranges": {
"baseline": "2021-12-02",
"port-version": 0
},
"tlx": {
"baseline": "0.5.20191212",
"port-version": 2

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7b8e77a41595c1f5d6fc5efdba421c7240fc26d9",
"version-date": "2021-12-02",
"port-version": 0
}
]
}