diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/fawdlstty-libfv | |
Diffstat (limited to 'vcpkg/ports/fawdlstty-libfv')
| -rw-r--r-- | vcpkg/ports/fawdlstty-libfv/portfile.cmake | 21 | ||||
| -rw-r--r-- | vcpkg/ports/fawdlstty-libfv/vcpkg.json | 15 |
2 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/fawdlstty-libfv/portfile.cmake b/vcpkg/ports/fawdlstty-libfv/portfile.cmake new file mode 100644 index 0000000..f5eed2b --- /dev/null +++ b/vcpkg/ports/fawdlstty-libfv/portfile.cmake @@ -0,0 +1,21 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO fawdlstty/libfv + REF v0.0.8 + SHA512 66071db541269de9793c643fba6154d1743b047ac32486067207c88d61b706e81266ce365a5c96c203a1cea0ec4e406927d8a8df1e047bb8b9218cf741dae4f1 + 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}") diff --git a/vcpkg/ports/fawdlstty-libfv/vcpkg.json b/vcpkg/ports/fawdlstty-libfv/vcpkg.json new file mode 100644 index 0000000..c3c8f00 --- /dev/null +++ b/vcpkg/ports/fawdlstty-libfv/vcpkg.json @@ -0,0 +1,15 @@ +{ + "name": "fawdlstty-libfv", + "version": "0.0.8", + "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" + ] +} |