New port: libtracepoint-control (#32163)

* Add libtracepoint-control

* Versions for libtracepoint-control
This commit is contained in:
Doug Cook 2023-06-22 13:39:54 -07:00 committed by GitHub
parent ace28ada89
commit a92697e2f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,21 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO "microsoft/LinuxTracepoints"
REF 3173fa8180eb5bb7167a686c8c18baf8ef0bf31b
SHA512 9bd2e16da96e37df58e4281d1341051eb90574cb29d380f04f90bba7507dc9b3037ded91206d5e1808b53734fc0fc1fd06c4a220b0f34d0078ac168e6c639462
HEAD_REF main)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/libtracepoint-control-cpp")
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
vcpkg_cmake_config_fixup(
PACKAGE_NAME tracepoint-control
CONFIG_PATH lib/cmake/tracepoint-control)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -0,0 +1,22 @@
{
"name": "libtracepoint-control",
"version": "1.1.0",
"description": "C++ classes for collecting Linux Tracepoints",
"homepage": "https://github.com/microsoft/LinuxTracepoints/",
"license": "MIT",
"supports": "linux",
"dependencies": [
{
"name": "libtracepoint-decode",
"version>=": "1.1.0"
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4660,6 +4660,10 @@
"baseline": "1.1.0",
"port-version": 0
},
"libtracepoint-control": {
"baseline": "1.1.0",
"port-version": 0
},
"libtracepoint-decode": {
"baseline": "1.1.0",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "46fe85ffc8eb1f431685a49dace1cf330d54d6c9",
"version": "1.1.0",
"port-version": 0
}
]
}