mirror of https://github.com/microsoft/vcpkg.git
[fawdlstty-libfv] Add new port (#25041)
* add libfv for #25025 * add cmake tools * commit `vcpkg.exe x-add-version --all` * overwrite sha1 * update version * commit 'x-add-version --all' * rename to fawdlstty-libfv * remove comments * --overwrite-version
This commit is contained in:
parent
a15782fee2
commit
0a74827c24
|
|
@ -0,0 +1,21 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO fawdlstty/libfv
|
||||
REF v0.0.6
|
||||
SHA512 0fdc947cc7035f4218259810ba4a2c951cd45a510daa9cf98caccfbb184808ea76af916db55cac662127a981e8b9c3db76149b6ec1748778728cff98d3f396a2
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/fawdlstty-libfv/fawdlstty-libfv-config.cmake" "
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(OpenSSL)
|
||||
find_dependency(ZLIB)
|
||||
if(NOT TARGET fawdlstty-libfv::libfv)
|
||||
add_library(fawdlstty-libfv::libfv INTERFACE IMPORTED)
|
||||
target_include_directories(fawdlstty-libfv::libfv INTERFACE \"\${CMAKE_CURRENT_LIST_DIR}/../../include\")
|
||||
target_link_libraries(fawdlstty-libfv::libfv INTERFACE ZLIB::ZLIB OpenSSL::SSL)
|
||||
endif()
|
||||
")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}")
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "fawdlstty-libfv",
|
||||
"version": "0.0.6",
|
||||
"description": "libfv is C++20 header-only network library, support TCP/SSL/Http/websocket server and client",
|
||||
"homepage": "https://github.com/fawdlstty/libfv",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"asio",
|
||||
"fmt",
|
||||
"gzip-hpp",
|
||||
"nlohmann-json",
|
||||
"openssl",
|
||||
"zlib"
|
||||
]
|
||||
}
|
||||
|
|
@ -2192,6 +2192,10 @@
|
|||
"baseline": "2.4.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"fawdlstty-libfv": {
|
||||
"baseline": "0.0.6",
|
||||
"port-version": 0
|
||||
},
|
||||
"fbgemm": {
|
||||
"baseline": "2021-03-18",
|
||||
"port-version": 4
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f763fa0612d3a1416497c810a16cdcac36936822",
|
||||
"version": "0.0.6",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue