diff options
| author | RT222 <contact@rt2.fr> | 2018-04-06 01:27:20 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-04-19 15:28:51 -0700 |
| commit | 96dbb6c3df72b45cd81b166a6853bf341c683ab7 (patch) | |
| tree | 5c3a0a7cecbbac57b19898b63c7f31f05de76c2d | |
| parent | 12e21abfc77ce6b68fd47ac6faa6722e80d22977 (diff) | |
| download | vcpkg-96dbb6c3df72b45cd81b166a6853bf341c683ab7.tar.gz vcpkg-96dbb6c3df72b45cd81b166a6853bf341c683ab7.zip | |
Initial port
| -rw-r--r-- | ports/utf8h/CONTROL | 3 | ||||
| -rw-r--r-- | ports/utf8h/portfile.cmake | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/ports/utf8h/CONTROL b/ports/utf8h/CONTROL new file mode 100644 index 000000000..5f1acf4c0 --- /dev/null +++ b/ports/utf8h/CONTROL @@ -0,0 +1,3 @@ +Source: utf8h +Version: 841cb2deb8eb806e73fff0e1f43a11fca4f5da45 +Description: Single header utf8 string functions for C and C++ diff --git a/ports/utf8h/portfile.cmake b/ports/utf8h/portfile.cmake new file mode 100644 index 000000000..11b35c21a --- /dev/null +++ b/ports/utf8h/portfile.cmake @@ -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) |
