diff options
| author | John Spaith <jspaith@windows.microsoft.com> | 2019-10-10 09:36:18 -0700 |
|---|---|---|
| committer | John Spaith <jspaith@windows.microsoft.com> | 2019-10-10 09:36:18 -0700 |
| commit | 17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1 (patch) | |
| tree | 7baa6f699aa57601dbba4ace876fad45958878fc /ports/cpp-base64 | |
| parent | 1d4189d1dde0fa8bbcbc6237cc33b85bca0512e1 (diff) | |
| parent | 2b049c47b5b2e003f8bcfe6707d4b0eaf8d1b569 (diff) | |
| download | vcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.tar.gz vcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.zip | |
Merge from master
Diffstat (limited to 'ports/cpp-base64')
| -rw-r--r-- | ports/cpp-base64/CONTROL | 4 | ||||
| -rw-r--r-- | ports/cpp-base64/portfile.cmake | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/cpp-base64/CONTROL b/ports/cpp-base64/CONTROL new file mode 100644 index 000000000..bc24cedb6 --- /dev/null +++ b/ports/cpp-base64/CONTROL @@ -0,0 +1,4 @@ +Source: cpp-base64
+Version: 2019-06-19
+Homepage: https://github.com/ReneNyffenegger/cpp-base64
+Description: Base64 encoding and decoding with c++.
\ No newline at end of file diff --git a/ports/cpp-base64/portfile.cmake b/ports/cpp-base64/portfile.cmake new file mode 100644 index 000000000..9016ca2c4 --- /dev/null +++ b/ports/cpp-base64/portfile.cmake @@ -0,0 +1,15 @@ +include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ReneNyffenegger/cpp-base64
+ REF a8aae956a2f07df9aac25b064cf4cd92d56aac45 #Commits on Jun 19, 2019
+ SHA512 cb8d8991b87bd70f6287fb2abe20cb2156a511fdccd42bb3fc441d81cccd55755a44579227d326585b8c7a514d9cfebda98a72801ea2a3019a935d52cb14fc90
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/base64.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
+file(COPY ${SOURCE_PATH}/base64.cpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file |
