mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:59:02 +08:00
[cpp-base64]Add new port. (#8368)
* [cpp-base64]Add new port. * [cpp-base64]Change copyright path and name.
This commit is contained in:
parent
5ebf65665d
commit
993f52c886
4
ports/cpp-base64/CONTROL
Normal file
4
ports/cpp-base64/CONTROL
Normal file
@ -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++.
|
15
ports/cpp-base64/portfile.cmake
Normal file
15
ports/cpp-base64/portfile.cmake
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user