diff options
Diffstat (limited to 'vcpkg/ports/z85')
| -rw-r--r-- | vcpkg/ports/z85/portfile.cmake | 17 | ||||
| -rw-r--r-- | vcpkg/ports/z85/vcpkg.json | 6 |
2 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/z85/portfile.cmake b/vcpkg/ports/z85/portfile.cmake new file mode 100644 index 0000000..b3316ee --- /dev/null +++ b/vcpkg/ports/z85/portfile.cmake @@ -0,0 +1,17 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO artemkin/z85 + REF v1.0 + SHA512 6b205524b8388c5709ca664a595a4db8fdd24148c5f87ef7ef16d6d6eb60d2c51db0b4ab768fe9ac3e5acf5e3fe1b46ef5b9f5e7f69a53fe40a7e8d25b098479 + HEAD_REF master +) + +# Install source files +file(INSTALL ${SOURCE_PATH}/src/z85.h + ${SOURCE_PATH}/src/z85.c + ${SOURCE_PATH}/src/z85.hpp + ${SOURCE_PATH}/src/z85_impl.cpp + DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT}) + +# Install license +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/vcpkg/ports/z85/vcpkg.json b/vcpkg/ports/z85/vcpkg.json new file mode 100644 index 0000000..2bf0932 --- /dev/null +++ b/vcpkg/ports/z85/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "z85", + "version": "1.0", + "port-version": 2, + "description": "Z85 is a binary-to-text encoding library. It implements ZeroMQ Base-85 Encoding Algorithm and provides custom padding." +} |