diff options
| author | An Tao <antao2002@gmail.com> | 2020-08-19 07:34:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-18 16:34:10 -0700 |
| commit | 9e61b5748d66b4b8e00d008639bcaf759b0eed59 (patch) | |
| tree | c799eb296c9dbf815f4c4556176d8a0a914959f0 | |
| parent | bf1f38c9c3d3644765b306808435aeabed34ab09 (diff) | |
| download | vcpkg-9e61b5748d66b4b8e00d008639bcaf759b0eed59.tar.gz vcpkg-9e61b5748d66b4b8e00d008639bcaf759b0eed59.zip | |
[trantor] Update to 1.0.0-rc16 (#12930)
| -rw-r--r-- | ports/trantor/CONTROL | 10 | ||||
| -rw-r--r-- | ports/trantor/portfile.cmake | 52 |
2 files changed, 31 insertions, 31 deletions
diff --git a/ports/trantor/CONTROL b/ports/trantor/CONTROL index 7bb7c4e7e..14160e5b4 100644 --- a/ports/trantor/CONTROL +++ b/ports/trantor/CONTROL @@ -1,5 +1,5 @@ -Source: trantor
-Version: v1.0.0-rc14
-Homepage: https://github.com/an-tao/trantor
-Description: A non-blocking I/O cross-platform TCP network library, using C++14.
-Build-Depends: openssl, c-ares
+Source: trantor +Version: v1.0.0-rc16 +Homepage: https://github.com/an-tao/trantor +Description: A non-blocking I/O cross-platform TCP network library, using C++14. +Build-Depends: openssl, c-ares diff --git a/ports/trantor/portfile.cmake b/ports/trantor/portfile.cmake index aa5758d51..b26d10bc1 100644 --- a/ports/trantor/portfile.cmake +++ b/ports/trantor/portfile.cmake @@ -1,26 +1,26 @@ -vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO an-tao/trantor
- REF v1.0.0-rc14
- SHA512 8d7e165afa85e37ba7075c2c180b9c1f92226541f2181092314d9550f6968bb8f7c9f0e121d4dc4984b91733e61db5ad22fd8b4537aa7036ea2cdc95d5789f39
- HEAD_REF master
-)
-
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
-)
-
-vcpkg_install_cmake()
-
-# Fix CMake files
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Trantor)
-
-# # Remove includes in debug
-file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/License DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-
-# Copy pdb files
-vcpkg_copy_pdbs()
+vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO an-tao/trantor + REF v1.0.0-rc16 + SHA512 b2c3156dd6c213805803e05f86f7d2c70647976a6144ac823e3de99d07f4ff65f08b53004a8783e08256116f94c3b98be92abd7a82e37fb9416b2c92df067bba + HEAD_REF master +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA +) + +vcpkg_install_cmake() + +# Fix CMake files +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Trantor) + +# # Remove includes in debug +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +# Handle copyright +file(INSTALL ${SOURCE_PATH}/License DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) + +# Copy pdb files +vcpkg_copy_pdbs() |
