aboutsummaryrefslogtreecommitdiff
path: root/ports/bitserializer-cpprestjson
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-12-04 15:21:26 -0800
committerPhil Christensen <philc@microsoft.com>2018-12-04 15:21:26 -0800
commit0f849f5a43a1b9fb23eed7e9925bbfc70439b3e5 (patch)
treebee22ec5122c5d8dab0d490e8241116726bafec0 /ports/bitserializer-cpprestjson
parent351fbda5b851f4cb59bdde15183b567f08f20841 (diff)
parent8f6e2303f5d0fc80236888d7628ba291b5157141 (diff)
downloadvcpkg-0f849f5a43a1b9fb23eed7e9925bbfc70439b3e5.tar.gz
vcpkg-0f849f5a43a1b9fb23eed7e9925bbfc70439b3e5.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/4831
Diffstat (limited to 'ports/bitserializer-cpprestjson')
-rw-r--r--ports/bitserializer-cpprestjson/CONTROL4
-rw-r--r--ports/bitserializer-cpprestjson/portfile.cmake13
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/bitserializer-cpprestjson/CONTROL b/ports/bitserializer-cpprestjson/CONTROL
new file mode 100644
index 000000000..f75cd41a2
--- /dev/null
+++ b/ports/bitserializer-cpprestjson/CONTROL
@@ -0,0 +1,4 @@
+Source: bitserializer-cpprestjson
+Version: 0.8
+Build-Depends: bitserializer, cpprestsdk
+Description: This is an implementation of the BitSerializer archive for serialization JSON (based on CppRestSDK library).
diff --git a/ports/bitserializer-cpprestjson/portfile.cmake b/ports/bitserializer-cpprestjson/portfile.cmake
new file mode 100644
index 000000000..28430d590
--- /dev/null
+++ b/ports/bitserializer-cpprestjson/portfile.cmake
@@ -0,0 +1,13 @@
+include(vcpkg_common_functions)
+vcpkg_from_bitbucket(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Pavel_Kisliak/BitSerializer
+ REF 0.8
+ SHA512 6df5b3f7a472a55ba0aace22c44cb2adaf178fbc7f920dcaf7d7015f81badde98d64911ddb620e99a708214140d7c29561775c1b0fe60fef6f24d465a4eac093
+ HEAD_REF master
+)
+
+file(INSTALL ${SOURCE_PATH}/archives/bitserializer_cpprest_json DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/bitserializer-cpprestjson RENAME copyright)