[proxy] Add new port (#25445)

* new port - proxy

* replace deprecated tools

* update vcpkg.json

* resolve comments

* run ./vcpkg x-add-version --all

* update description

* update git-tree

* add quotes

* run vcpkg x-add-version --all
This commit is contained in:
Tian L 2022-07-01 04:03:18 +08:00 committed by GitHub
parent 6d994a670d
commit ec547c15d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/proxy
REF release/1.0.1
SHA512 5822064b373d3da8cea884d0c727e98d988252a7324ea9b78fa63fc86ee6afd73852a49f3685842345b86d625380140f80998263a6c8150fe66a30d6ba7e928a
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

17
ports/proxy/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "proxy",
"version": "1.0.1",
"description": "A single-header C++20 library that facilitates runtime polymorphism.",
"homepage": "https://github.com/microsoft/proxy",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -5648,6 +5648,10 @@
"baseline": "1.7.1",
"port-version": 0
},
"proxy": {
"baseline": "1.0.1",
"port-version": 0
},
"proxygen": {
"baseline": "2022.03.21.00",
"port-version": 2

9
versions/p-/proxy.json Normal file
View File

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