aboutsummaryrefslogtreecommitdiff
path: root/ports/bitserializer-cpprestjson
diff options
context:
space:
mode:
authorzhouqi <zhouqi.whu@hotmail.com>2018-12-05 16:59:08 +0800
committerzhouqi <zhouqi.whu@hotmail.com>2018-12-05 16:59:08 +0800
commit2b410bea32837c8a498c3ce6ae88b82013fe2e52 (patch)
treea7cf9d04d503658f30149a1d291aefaef2f65c87 /ports/bitserializer-cpprestjson
parent642e37b3c9f14d5f822239b630933d8eed7e8b70 (diff)
parent5f63d0a5f77b4179df6dc10110637775a1d0fe69 (diff)
downloadvcpkg-2b410bea32837c8a498c3ce6ae88b82013fe2e52.tar.gz
vcpkg-2b410bea32837c8a498c3ce6ae88b82013fe2e52.zip
Merge branch 'master' of https://github.com/zhouqime/vcpkg
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)