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/protozero | |
Diffstat (limited to 'vcpkg/ports/protozero')
| -rw-r--r-- | vcpkg/ports/protozero/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/protozero/vcpkg.json | 19 |
2 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/protozero/portfile.cmake b/vcpkg/ports/protozero/portfile.cmake new file mode 100644 index 0000000..e99376c --- /dev/null +++ b/vcpkg/ports/protozero/portfile.cmake @@ -0,0 +1,20 @@ + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO mapbox/protozero + SHA512 b5c4cef9112e03f64d53c2f15f8def28129f720f77674e8d1aac7ad663f18630bb3923495a57f94917490d27acab27f07574a6c170c9e1fb151eef702a4ffc5f + REF "v${VERSION}" + HEAD_REF master +) + + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_TESTING=OFF +) +vcpkg_cmake_install() +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug") +file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/protozero/vcpkg.json b/vcpkg/ports/protozero/vcpkg.json new file mode 100644 index 0000000..32e2372 --- /dev/null +++ b/vcpkg/ports/protozero/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "protozero", + "version-semver": "1.8.0", + "description": "Minimalist protocol buffer decoder and encoder in C++", + "homepage": "https://github.com/mapbox/protozero", + "license": "BSD-2-Clause", + "supports": "!uwp", + "dependencies": [ + "protobuf", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |