aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/liblttng-ust/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liblttng-ust/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/liblttng-ust/portfile.cmake')
-rw-r--r--vcpkg/ports/liblttng-ust/portfile.cmake25
1 files changed, 25 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")