diff options
Diffstat (limited to 'vcpkg/ports/mvfst')
| -rw-r--r-- | vcpkg/ports/mvfst/portfile.cmake | 19 | ||||
| -rw-r--r-- | vcpkg/ports/mvfst/vcpkg.json | 30 |
2 files changed, 49 insertions, 0 deletions
diff --git a/vcpkg/ports/mvfst/portfile.cmake b/vcpkg/ports/mvfst/portfile.cmake new file mode 100644 index 0000000..8c30e08 --- /dev/null +++ b/vcpkg/ports/mvfst/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO facebook/mvfst
+ REF "v${VERSION}"
+ SHA512 eefc84958d57ba09bff3498899f5b71b3bd4afd54def56115c4ecd6e0506a14bd3912b3c8a8824d42c57b1842b7a493613e92cedc5ad2a9a702bda4e348788f2
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_TESTS=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mvfst)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/mvfst/vcpkg.json b/vcpkg/ports/mvfst/vcpkg.json new file mode 100644 index 0000000..d1b2d9d --- /dev/null +++ b/vcpkg/ports/mvfst/vcpkg.json @@ -0,0 +1,30 @@ +{ + "name": "mvfst", + "version-string": "2025.05.19.00", + "description": "mvfst (Pronounced move fast) is a client and server implementation of IETF QUIC protocol in C++ by Facebook.", + "homepage": "https://github.com/facebook/mvfst", + "license": "MIT", + "supports": "!windows | static", + "dependencies": [ + "boost-context", + "boost-date-time", + "boost-filesystem", + "boost-iostreams", + "boost-program-options", + "boost-regex", + "boost-system", + "boost-thread", + "fizz", + "fmt", + "folly", + "glog", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |