[cpp-sort] add new port (#34677)

* [cpp-sort] add new port

* [cpp-sort] fix usage

* [cpp-sort] add new port

* [cpp-sort] fix usage

* [cpp-sort] add new port
This commit is contained in:
Jia Yue Hua 2023-10-25 02:05:02 +08:00 committed by GitHub
parent f7dc9c8f5e
commit 46b3d5404d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Morwenn/cpp-sort
REF "${VERSION}"
SHA512 85d9f68ff64ff23769c66d28153273e2072b2c12f2f94bb058afebc1fb68d852734d3907a51704212d795bff71f327de3497232ba3619179bbaa141ab55b2452
HEAD_REF 1.x.y-develop
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCPPSORT_BUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/cpp-sort")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

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

@ -0,0 +1,17 @@
{
"name": "cpp-sort",
"version": "1.15.0",
"description": "Sorting algorithms & related tools for C++14",
"homepage": "https://github.com/Morwenn/cpp-sort/",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1820,6 +1820,10 @@
"baseline": "4.3.1",
"port-version": 5
},
"cpp-sort": {
"baseline": "1.15.0",
"port-version": 0
},
"cpp-taskflow": {
"baseline": "2.6.0",
"port-version": 2

View File

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