aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tinyutf8
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/tinyutf8
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/tinyutf8')
-rw-r--r--vcpkg/ports/tinyutf8/portfile.cmake22
-rw-r--r--vcpkg/ports/tinyutf8/vcpkg.json18
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/tinyutf8/portfile.cmake b/vcpkg/ports/tinyutf8/portfile.cmake
new file mode 100644
index 0000000..d5960aa
--- /dev/null
+++ b/vcpkg/ports/tinyutf8/portfile.cmake
@@ -0,0 +1,22 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO DuffsDevice/tiny-utf8
+ REF "v${VERSION}"
+ SHA512 e87368614671c8e160e9fd7c529bba08f6b3d6bdd0b178c68a4f25a54a6428afe01c3099f80d4976a1b2ce9f2e19b877da54a5dbf024ad25c7a5d5e47cb57bb0
+ HEAD_REF master
+)
+
+# header-only
+set(VCPKG_BUILD_TYPE "release")
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DTINYUTF8_BUILD_TESTING=OFF
+ -DTINYUTF8_BUILD_DOC=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH share/tinyutf8/cmake)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENCE")
diff --git a/vcpkg/ports/tinyutf8/vcpkg.json b/vcpkg/ports/tinyutf8/vcpkg.json
new file mode 100644
index 0000000..79f3052
--- /dev/null
+++ b/vcpkg/ports/tinyutf8/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "tinyutf8",
+ "version": "4.4.3",
+ "port-version": 1,
+ "description": "TINYUTF8 is a library for extremely easy integration of Unicode into an arbitrary C++11 project.",
+ "homepage": "https://github.com/DuffsDevice/tiny-utf8/",
+ "license": "BSD-3-Clause",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}