Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 4c959c6

Browse files
authored
[restclient-cpp] Fix portfile and update version. (microsoft#9717)
* [restclient-cpp] Fix installation. Remove only debug directory * [restclient-cpp] Fix directory cleanup * [restclient-cpp] Update library * [restclient-cpp] Add msvc patch * [restclient-cpp] Remove lib directory on dynamic compile * [restclient-cpp] set VCPKG_POLICY_DLLS_WITHOUT_LIBS * [restclient-cpp] Remove lib directory on dynamic compile * [restclient-cpp] Set compile type static * Remove patch * [restclient-cpp] Changes and fixes Update version Update handling copiright Remove no longer needed include Move COMPILE_TYPE parameter * [restclient-cpp] Update description. Add Homepage * [restclient-cpp] Bump to 0.5.2. Remove COMPILE_TYPE option * [restclient-cpp] Set ONLY_STATIC_LIBRARY for Windows * [restclient-cpp] Change version num 0.5.2-1 -> 0.5.2
1 parent 87b00bf commit 4c959c6

File tree

3 files changed

+6
-19
lines changed

3 files changed

+6
-19
lines changed

ports/restclient-cpp/0001_fix_cmake_linking.patch

-13
This file was deleted.

ports/restclient-cpp/CONTROL

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Source: restclient-cpp
2-
Version: 0.5.1-3
2+
Version: 0.5.2
33
Build-Depends: curl
4-
Description: Binn is a binary data serialization format designed to be compact, fast and easy to use.
4+
Homepage: https://code.mrtazz.com/restclient-cpp/
5+
Description: Simple REST client for C++. It wraps libcurl for HTTP requests.

ports/restclient-cpp/portfile.cmake

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ endif()
55
vcpkg_from_github(
66
OUT_SOURCE_PATH SOURCE_PATH
77
REPO mrtazz/restclient-cpp
8-
REF 0.5.1
9-
SHA512 d5e17a984af44f863bc7cdc7307c2b06cae9252f86c6c6c2377cdb317f61b6419d8e9aedc5e5ccdb08fd1ee13848ec3b9ef8067a8d26dcf438a5c8793b5a2ce3
8+
REF 0.5.2
9+
SHA512 f6acc6a3d5cb852d6e507463d94d2f6192a941f0c26fef7c674e9ff7753cf5474522052a2065774050d01af5c6d2a3b86398f43cd2e4f5d03abcaac9a21ef4b7
1010
HEAD_REF master
11-
PATCHES
12-
0001_fix_cmake_linking.patch
1311
)
1412

1513
vcpkg_configure_cmake(
@@ -26,6 +24,7 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/restclient-cpp)
2624

2725
vcpkg_copy_pdbs()
2826

27+
# Remove includes in debug
2928
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
3029

3130
# Handle copyright

0 commit comments

Comments
 (0)