diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/utfcpp | |
Diffstat (limited to 'vcpkg/ports/utfcpp')
| -rw-r--r-- | vcpkg/ports/utfcpp/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/utfcpp/vcpkg.json | 17 |
2 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/utfcpp/portfile.cmake b/vcpkg/ports/utfcpp/portfile.cmake new file mode 100644 index 0000000..d42d0f6 --- /dev/null +++ b/vcpkg/ports/utfcpp/portfile.cmake @@ -0,0 +1,18 @@ +set(VCPKG_BUILD_TYPE release) # header-only + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO nemtrif/utfcpp + REF "v${VERSION}" + SHA512 53c59f2e04fe5d36faf98a238b94f774834a34982d481a8170ee144f7f8c2d4ba249a732d90654922944c1075c578690c327091883398c533d604bf49f4a6ecf + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(PACKAGE_NAME utf8cpp CONFIG_PATH share/utf8cpp/cmake) + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/utfcpp/vcpkg.json b/vcpkg/ports/utfcpp/vcpkg.json new file mode 100644 index 0000000..aebf2ce --- /dev/null +++ b/vcpkg/ports/utfcpp/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "utfcpp", + "version": "4.0.6", + "description": "UTF-8 with C++ in a Portable Way", + "homepage": "https://github.com/nemtrif/utfcpp", + "license": "BSL-1.0", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |