aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cpp-base64
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cpp-base64
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/cpp-base64')
-rw-r--r--vcpkg/ports/cpp-base64/portfile.cmake13
-rw-r--r--vcpkg/ports/cpp-base64/vcpkg.json6
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/cpp-base64/portfile.cmake b/vcpkg/ports/cpp-base64/portfile.cmake
new file mode 100644
index 0000000..2e4defa
--- /dev/null
+++ b/vcpkg/ports/cpp-base64/portfile.cmake
@@ -0,0 +1,13 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ReneNyffenegger/cpp-base64
+ REF V2.rc.08 # V2.rc.08
+ SHA512 8d115c3341bee31c3d83f5ad07d457a507f42d58bb5db8d9ead213494f7f25065eeeac06226f9cc34235c0360eb893e7bc66a95aa3bfbc9ea0d179f5a0b7af0a
+ 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)
diff --git a/vcpkg/ports/cpp-base64/vcpkg.json b/vcpkg/ports/cpp-base64/vcpkg.json
new file mode 100644
index 0000000..b0918e7
--- /dev/null
+++ b/vcpkg/ports/cpp-base64/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "cpp-base64",
+ "version-string": "V2.rc.08",
+ "description": "Base64 encoding and decoding with c++.",
+ "homepage": "https://github.com/ReneNyffenegger/cpp-base64/"
+}