mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
Initial port
This commit is contained in:
parent
12e21abfc7
commit
96dbb6c3df
3
ports/utf8h/CONTROL
Normal file
3
ports/utf8h/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: utf8h
|
||||
Version: 841cb2deb8eb806e73fff0e1f43a11fca4f5da45
|
||||
Description: Single header utf8 string functions for C and C++
|
15
ports/utf8h/portfile.cmake
Normal file
15
ports/utf8h/portfile.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO sheredom/utf8.h
|
||||
REF 841cb2deb8eb806e73fff0e1f43a11fca4f5da45
|
||||
SHA512 cce44011abc58556c031c0de1018b83225bdbbc0e8d7374e3fd6f0b63c8e200086c49e7caac61b559f1e6d5a7ad349a58a13876a1b1341c18349a5cee59a105b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Copy the utf8h header files
|
||||
file(COPY ${SOURCE_PATH}/utf8.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/utf8h)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/utf8h RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user