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/hexi | |
Diffstat (limited to 'vcpkg/ports/hexi')
| -rw-r--r-- | vcpkg/ports/hexi/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/hexi/vcpkg.json | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/hexi/portfile.cmake b/vcpkg/ports/hexi/portfile.cmake new file mode 100644 index 0000000..f9b9f4e --- /dev/null +++ b/vcpkg/ports/hexi/portfile.cmake @@ -0,0 +1,13 @@ +# Header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO EmberEmu/Hexi + REF "v${VERSION}" + SHA512 2ec2700891baae74873bec62bbd1267deb89334ff121e9a1e5903f90c0b04827ec003f3b15baadc81c7dc3d6c80c65dd1714ab92fd3054a5c48c5fff0a7ecfbb + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/single_include/hexi.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/hexi") +file(INSTALL "${SOURCE_PATH}/single_include/hexi_fwd.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/hexi") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" "${SOURCE_PATH}/LICENSE-MIT") diff --git a/vcpkg/ports/hexi/vcpkg.json b/vcpkg/ports/hexi/vcpkg.json new file mode 100644 index 0000000..0adc884 --- /dev/null +++ b/vcpkg/ports/hexi/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "hexi", + "version": "1.3.4", + "description": "Header-only, lightweight C++ library for binary streaming & serialization.", + "homepage": "https://github.com/EmberEmu/Hexi", + "license": "MIT OR Apache-2.0" +} |