mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 16:52:53 +08:00
[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:
parent
6d994a670d
commit
ec547c15d6
19
ports/proxy/portfile.cmake
Normal file
19
ports/proxy/portfile.cmake
Normal 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
17
ports/proxy/vcpkg.json
Normal 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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -5648,6 +5648,10 @@
|
|||||||
"baseline": "1.7.1",
|
"baseline": "1.7.1",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
|
"proxy": {
|
||||||
|
"baseline": "1.0.1",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
"proxygen": {
|
"proxygen": {
|
||||||
"baseline": "2022.03.21.00",
|
"baseline": "2022.03.21.00",
|
||||||
"port-version": 2
|
"port-version": 2
|
||||||
|
9
versions/p-/proxy.json
Normal file
9
versions/p-/proxy.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "f0e6617956cb7c1b38369086d9615ccaad354729",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"port-version": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user