mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:43:02 +08:00
[cpp-httplib] Bump to 0.13.3 (#32949)
* [cpp-httplib] Bump to 0.13.3 * update version database
This commit is contained in:
parent
42ffe30d32
commit
fcd7a06ecc
@ -1,23 +1,23 @@
|
||||
# Header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO yhirose/cpp-httplib
|
||||
REF "v${VERSION}"
|
||||
SHA512 4a70ebafd0920116a78ea18982606f0bec396e5cdcea9ba583c1da4fd77fa45c5bf30a6ac14eeee9424f3e445a882a560345d731a7113ab4e7dff88f4ef0a436
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-find-brotli.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME httplib CONFIG_PATH lib/cmake/httplib)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib" "${CURRENT_PACKAGES_DIR}/lib")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO yhirose/cpp-httplib
|
||||
REF "v${VERSION}"
|
||||
SHA512 5181f185bc0bb37429847e2656534ff25512458c0219631c982b776c65fd6be73e038f88d47e42b4f614324e51577bc8815e80952c7c7ca6e66eca4a16a9f30d
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-find-brotli.patch
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release) # header-only port
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME httplib CONFIG_PATH lib/cmake/httplib)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
4
ports/cpp-httplib/usage
Normal file
4
ports/cpp-httplib/usage
Normal file
@ -0,0 +1,4 @@
|
||||
cpp-httplib provides CMake targets:
|
||||
|
||||
find_package(httplib CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE httplib::httplib)
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpp-httplib",
|
||||
"version": "0.13.1",
|
||||
"version": "0.13.3",
|
||||
"description": "A single file C++11 header-only HTTP/HTTPS server and client library",
|
||||
"homepage": "https://github.com/yhirose/cpp-httplib",
|
||||
"license": "MIT",
|
||||
|
@ -1769,7 +1769,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"cpp-httplib": {
|
||||
"baseline": "0.13.1",
|
||||
"baseline": "0.13.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"cpp-ipc": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e1a8cffe02efe8a9c92d1aa1e802f12a8d893aa8",
|
||||
"version": "0.13.3",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "795e219c0d92adb47551a8a8a4a1e800d5fe70a9",
|
||||
"version": "0.13.1",
|
||||
|
Loading…
Reference in New Issue
Block a user