diff options
Diffstat (limited to 'vcpkg/ports/liblttng-ust')
| -rw-r--r-- | vcpkg/ports/liblttng-ust/portfile.cmake | 25 | ||||
| -rw-r--r-- | vcpkg/ports/liblttng-ust/vcpkg.json | 15 |
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/liblttng-ust/portfile.cmake b/vcpkg/ports/liblttng-ust/portfile.cmake new file mode 100644 index 0000000..8c46bdf --- /dev/null +++ b/vcpkg/ports/liblttng-ust/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO lttng/lttng-ust
+ REF "v${VERSION}"
+ SHA512 4b41e4b80465f1e94178054430246b552f6b04e65682b1c943ac2e33d5e2c6eb24707fdaec8165855fd0f11ebc60a3afa9117fbaddd2d634d03cc76e74ee6381
+ HEAD_REF master
+)
+
+vcpkg_make_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ AUTORECONF
+ OPTIONS
+ --disable-man-pages
+ --disable-examples
+ --disable-numa
+
+)
+
+vcpkg_make_install()
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/liblttng-ust/vcpkg.json b/vcpkg/ports/liblttng-ust/vcpkg.json new file mode 100644 index 0000000..c24130b --- /dev/null +++ b/vcpkg/ports/liblttng-ust/vcpkg.json @@ -0,0 +1,15 @@ +{ + "name": "liblttng-ust", + "version": "2.14.0-rc1", + "description": "LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is port of the low-overhead tracing capabilities of the LTTng kernel tracer to user-space. The library 'liblttng-ust' enables tracing of applications and libraries.", + "homepage": "https://lttng.org/", + "license": "LGPL-2.1-only", + "supports": "linux", + "dependencies": [ + "liburcu", + { + "name": "vcpkg-make", + "host": true + } + ] +} |