]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/otl/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / otl / portfile.cmake
CommitLineData
1e59de90
TL
1set(OTL_VERSION 40455)
2
3vcpkg_download_distfile(ARCHIVE
4 URLS "http://otl.sourceforge.net/otlv4_${OTL_VERSION}.zip"
5 FILENAME "otlv4_${OTL_VERSION}-1.zip"
6 SHA512 d1f777dea53f4451616ef628680d070db1fe53683571bd509f58dba9c1e64fe6caa8a81d2f47876c2128af701ba19dc2e9c5612a57232efca3ad084843f272b6
7)
8
9vcpkg_extract_source_archive_ex(
10 OUT_SOURCE_PATH SOURCE_PATH
11 ARCHIVE ${ARCHIVE}
12 NO_REMOVE_ONE_LEVEL
13)
14
15file(INSTALL "${SOURCE_PATH}/otlv${OTL_VERSION}.h"
16 DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}"
17 RENAME otlv4.h)
18
19file(INSTALL "${SOURCE_PATH}/otlv${OTL_VERSION}.h"
20 DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
21 RENAME copyright)