aboutsummaryrefslogtreecommitdiff
path: root/ports/azure-storage-common-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/azure-storage-common-cpp')
-rw-r--r--ports/azure-storage-common-cpp/CONTROL6
-rw-r--r--ports/azure-storage-common-cpp/portfile.cmake20
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/azure-storage-common-cpp/CONTROL b/ports/azure-storage-common-cpp/CONTROL
new file mode 100644
index 000000000..916e0dd0d
--- /dev/null
+++ b/ports/azure-storage-common-cpp/CONTROL
@@ -0,0 +1,6 @@
+Source: azure-storage-common-cpp
+Version: 12.0.0-beta.7
+Build-Depends: azure-core-cpp, libxml2, openssl (!windows)
+Description: Microsoft Azure Common Storage SDK for C++
+ This library provides common Azure Storage-related abstractions for Azure SDK.
+Homepage: https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/storage/azure-storage-common
diff --git a/ports/azure-storage-common-cpp/portfile.cmake b/ports/azure-storage-common-cpp/portfile.cmake
new file mode 100644
index 000000000..af5850bcb
--- /dev/null
+++ b/ports/azure-storage-common-cpp/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Azure/azure-sdk-for-cpp
+ REF azure-storage-common_12.0.0-beta.7
+ SHA512 b37ca9a6562856858d19e1babbc7a99a25da75698935706fa6ebcebe118c33c35e388bebefcb56e6dcb45db4ffae0a60e0ffa3a56015f2069fd3a04433e21247
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-common/
+ PREFER_NINJA
+ OPTIONS
+ -DWARNINGS_AS_ERRORS=OFF
+)
+
+vcpkg_install_cmake()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+vcpkg_fixup_cmake_targets()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+vcpkg_copy_pdbs()
+