mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:59:02 +08:00
[opentelemetry-fluentd] Add new port (#32063)
This commit is contained in:
parent
bffafa8f7a
commit
679b49480a
24
ports/opentelemetry-fluentd/portfile.cmake
Normal file
24
ports/opentelemetry-fluentd/portfile.cmake
Normal file
@ -0,0 +1,24 @@
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO open-telemetry/opentelemetry-cpp-contrib
|
||||
REF 7afa91952f08aad1fa79b8992f20a4b0cdaadaff # Maps to 2.0.0
|
||||
HEAD_REF main
|
||||
SHA512 b28415c867aee5efe99f7521a145b5c402ac555d83be75a8b1d2760aed226ac109a6d092e86d7afedcc2ed8dc848d9662ac6505133d32f99b810f51e2748d1fc
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}/exporters/fluentd"
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
21
ports/opentelemetry-fluentd/vcpkg.json
Normal file
21
ports/opentelemetry-fluentd/vcpkg.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "opentelemetry-fluentd",
|
||||
"version-semver": "2.0.0",
|
||||
"description": "mdsd/fluentd exporter for OpenTelemetry C++",
|
||||
"homepage": "https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/exporters",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": [
|
||||
"curl",
|
||||
"nlohmann-json",
|
||||
"opentelemetry-cpp",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -6068,6 +6068,10 @@
|
||||
"baseline": "1.9.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"opentelemetry-fluentd": {
|
||||
"baseline": "2.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"opentracing": {
|
||||
"baseline": "1.6.0",
|
||||
"port-version": 4
|
||||
|
9
versions/o-/opentelemetry-fluentd.json
Normal file
9
versions/o-/opentelemetry-fluentd.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4c8cdb3314a3a35268d4ce9b786c6632c79e0f97",
|
||||
"version-semver": "2.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user