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/bitsery | |
Diffstat (limited to 'vcpkg/ports/bitsery')
| -rw-r--r-- | vcpkg/ports/bitsery/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/bitsery/vcpkg.json | 16 |
2 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/bitsery/portfile.cmake b/vcpkg/ports/bitsery/portfile.cmake new file mode 100644 index 0000000..ed8fe1d --- /dev/null +++ b/vcpkg/ports/bitsery/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO fraillt/bitsery + REF "v${VERSION}" + SHA512 bf43550e307713f37fb6d9c7414eeaadd16c14b791be64871c17e8fbbb0028a7818d7108edae7f29cd9522cc16606824d729220c1d018fa79f3340e8e50e5607 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT}) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/bitsery/vcpkg.json b/vcpkg/ports/bitsery/vcpkg.json new file mode 100644 index 0000000..a20a713 --- /dev/null +++ b/vcpkg/ports/bitsery/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "bitsery", + "version": "5.2.5", + "description": "Header only C++ binary serialization library", + "homepage": "https://github.com/fraillt/bitsery", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |