aboutsummaryrefslogtreecommitdiff
path: root/ports/bitserializer-cpprestjson/portfile.cmake
diff options
context:
space:
mode:
authorPavel Kisliak <37534137+PavelKisliak@users.noreply.github.com>2018-11-29 05:20:43 +0300
committerRobert Schumacher <roschuma@microsoft.com>2018-11-28 18:20:43 -0800
commitfae3055effac47bda6f5eefaf5335309bd70816e (patch)
tree88bff0d4954c20423a6ca7ecd2a5746d2b840280 /ports/bitserializer-cpprestjson/portfile.cmake
parent3e71750029740df700b46dfa3761c42509f08e54 (diff)
downloadvcpkg-fae3055effac47bda6f5eefaf5335309bd70816e.tar.gz
vcpkg-fae3055effac47bda6f5eefaf5335309bd70816e.zip
[bitserializer] Update to v0.8, split to two sub-libraries (#4841)
Diffstat (limited to 'ports/bitserializer-cpprestjson/portfile.cmake')
-rw-r--r--ports/bitserializer-cpprestjson/portfile.cmake13
1 files changed, 13 insertions, 0 deletions
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)