aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/utf8h
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/utf8h
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/utf8h')
-rw-r--r--vcpkg/ports/utf8h/portfile.cmake11
-rw-r--r--vcpkg/ports/utf8h/vcpkg.json8
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/utf8h/portfile.cmake b/vcpkg/ports/utf8h/portfile.cmake
new file mode 100644
index 0000000..041d253
--- /dev/null
+++ b/vcpkg/ports/utf8h/portfile.cmake
@@ -0,0 +1,11 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO sheredom/utf8.h
+ REF 500d4ea9f4c3449e5243c088d8af8700f7189734
+ SHA512 fbae7dbfd932176058dacb33ea491d17eb8e02c845e1ef2afc0ae482f563578a8a8011a8578f4aa8593bb0d7de8ba2df140bda05859a9a6bd67f6545ca0d7421
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/utf8.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/utf8h")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/utf8h/vcpkg.json b/vcpkg/ports/utf8h/vcpkg.json
new file mode 100644
index 0000000..bb03835
--- /dev/null
+++ b/vcpkg/ports/utf8h/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "utf8h",
+ "version-date": "2021-11-18",
+ "port-version": 1,
+ "description": "Single header utf8 string functions for C and C++",
+ "homepage": "https://github.com/sheredom/utf8.h",
+ "license": "Unlicense"
+}