Skip to content

Commit

Permalink
Merge pull request microsoft#9057 from eao197/json-dto-0.2.9
Browse files Browse the repository at this point in the history
[json-dto] Update to v0.2.9; Switch repo; Fix license installation
  • Loading branch information
ras0219-msft authored Nov 22, 2019
2 parents 8c97593 + 0112cf8 commit be22db5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ports/json-dto/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: json-dto
Version: 0.2.8-2
Version: 0.2.9.1
Description: A small header-only library for converting data between json representation and c++ structs.
Build-Depends: rapidjson
11 changes: 5 additions & 6 deletions ports/json-dto/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include(vcpkg_common_functions)

vcpkg_from_bitbucket(
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sobjectizerteam/json_dto-0.2
REF v.0.2.8
SHA512 50a2d8d31f4cf67bdf84a58bae5f95642f4be571e8e052a48830be119d5e3c4ddbb19c5ac97fc0f8383c9958d64ec9be4ce23019c1da4f2cbf4b8ddbf23f5ad7
REPO stiffstream/json_dto
REF d620668d568075cbdb169d1b160db71ad6693194 # v.0.2.9.1
SHA512 5f92f04cfeb524eabe6a245aeab9205d274532cbac3296483ac5ebd7d1e3531bd9acf1937c75d84663592ff8a22ac72bb64be09c18ac859e94d80e3515883aae
)

vcpkg_configure_cmake(
Expand All @@ -24,5 +24,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/json-dto)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)

# Handle copyright
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/json-dto)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/json-dto/LICENSE ${CURRENT_PACKAGES_DIR}/share/json-dto/copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

0 comments on commit be22db5

Please sign in to comment.