[transwarp] add a new port (#18069)

* [transwarp] Add a new port, transwarp, a header-only C++ library for task concurrency.

* Update ports/transwarp/portfile.cmake

* Update ports/transwarp/portfile.cmake

* Update ports/transwarp/portfile.cmake

* Update versions/t-/transwarp.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
Yue 2021-05-27 05:14:51 +08:00 committed by GitHub
parent f519430b0f
commit ab9e4a235f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bloomen/transwarp
REF 2.2.2
SHA512 32e5dce698bff565f98ac73e7a4213858f5024003f01d798a6f7eb99289f192dd56b45c975c0e42be36e28e0b828c9810f5d27e62312649606b78ec93e4afae4
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -0,0 +1,13 @@
{
"name": "transwarp",
"version": "2.2.2",
"description": "A header-only C++ library for task concurrency",
"homepage": "https://github.com/bloomen/transwarp",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -6160,6 +6160,10 @@
"baseline": "2019-04-19-2",
"port-version": 0
},
"transwarp": {
"baseline": "2.2.2",
"port-version": 0
},
"trantor": {
"baseline": "1.4.1",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "2e60fb56dd71cbc0d75dfb0bc253ec4ab5b12e8e",
"version": "2.2.2",
"port-version": 0
}
]
}