diff options
| author | bdonlan <bdonlan@gmail.com> | 2019-01-24 23:53:13 +0000 |
|---|---|---|
| committer | Codiferous <44823842+Codiferous@users.noreply.github.com> | 2019-01-24 15:53:13 -0800 |
| commit | 7d5fa69b3336dfca70539c77f536dc81633703f1 (patch) | |
| tree | a08d03a3bc58684633abe175aeccf3213469724c /ports/aws-c-common | |
| parent | 5dec8aa31b241cb4e92c520cac6c250575a0d719 (diff) | |
| download | vcpkg-7d5fa69b3336dfca70539c77f536dc81633703f1.tar.gz vcpkg-7d5fa69b3336dfca70539c77f536dc81633703f1.zip | |
[aws-sdk-cpp] Update port to version 1.7.38 and add ports for its dependencies (#5214)
* [aws-c-common] Add new port
* [aws-checksums] Add new port
* [aws-c-event-stream] Add new port
* [aws-sdk-cpp] Update port to version 1.7.38
* [aws-sdk-cpp] Add dependencies on aws-c-event-stream, aws-checksums
Diffstat (limited to 'ports/aws-c-common')
| -rw-r--r-- | ports/aws-c-common/CONTROL | 3 | ||||
| -rw-r--r-- | ports/aws-c-common/portfile.cmake | 34 |
2 files changed, 37 insertions, 0 deletions
diff --git a/ports/aws-c-common/CONTROL b/ports/aws-c-common/CONTROL new file mode 100644 index 000000000..702ff2aa3 --- /dev/null +++ b/ports/aws-c-common/CONTROL @@ -0,0 +1,3 @@ +Source: aws-c-common
+Version: 0.3.0
+Description: AWS common library for C
\ No newline at end of file diff --git a/ports/aws-c-common/portfile.cmake b/ports/aws-c-common/portfile.cmake new file mode 100644 index 000000000..681964791 --- /dev/null +++ b/ports/aws-c-common/portfile.cmake @@ -0,0 +1,34 @@ +include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO awslabs/aws-c-common
+ REF v0.3.0
+ SHA512 604b4289f19be662f15dc5ba80c20b78856975332b485796f979580e45f8d778eb8ce0cc2c02dcbaf27bc1159f473e02676cd951b674b7c8478ed26438a04541
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/aws-c-common/cmake)
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share/cmake)
+
+file(REMOVE_RECURSE
+ ${CURRENT_PACKAGES_DIR}/debug/include
+ ${CURRENT_PACKAGES_DIR}/debug/lib/aws-c-common
+ ${CURRENT_PACKAGES_DIR}/lib/aws-c-common
+ )
+
+vcpkg_copy_pdbs()
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/aws-c-common RENAME copyright)
+
+file(REMOVE_RECURSE
+ ${CURRENT_PACKAGES_DIR}/debug/share
+)
\ No newline at end of file |
