aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/modp-base64/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/modp-base64/portfile.cmake')
-rw-r--r--vcpkg/ports/modp-base64/portfile.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/modp-base64/portfile.cmake b/vcpkg/ports/modp-base64/portfile.cmake
new file mode 100644
index 0000000..ffa84b9
--- /dev/null
+++ b/vcpkg/ports/modp-base64/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO client9/stringencoders
+ REF e1448a9415f4ebf6f559c86718193ba067cbb99d
+ SHA512 68c9b9a9eb09075c792cfc0a8ce1959c60a86e5256de8568b0cb6934f748fd9e95c5f1801a8982fecac65850a8f2d633a64dc98e4505ee8e6914bd0b0fb996cf
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${CMAKE_CURRENT_LIST_DIR}"
+ OPTIONS -DSOURCE_PATH=${SOURCE_PATH}
+ OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
+)
+
+vcpkg_cmake_install()
+
+# Handle copyright
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")