Initial port

This commit is contained in:
RT222 2018-04-06 01:27:20 +02:00 committed by Robert Schumacher
parent 12e21abfc7
commit 96dbb6c3df
2 changed files with 18 additions and 0 deletions

3
ports/utf8h/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: utf8h
Version: 841cb2deb8eb806e73fff0e1f43a11fca4f5da45
Description: Single header utf8 string functions for C and C++

View 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)