aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/librtpi/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/librtpi/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/librtpi/portfile.cmake')
-rw-r--r--vcpkg/ports/librtpi/portfile.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/librtpi/portfile.cmake b/vcpkg/ports/librtpi/portfile.cmake
new file mode 100644
index 0000000..f2baa23
--- /dev/null
+++ b/vcpkg/ports/librtpi/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_gitlab(
+ OUT_SOURCE_PATH SOURCE_PATH
+ GITLAB_URL https://gitlab.com
+ REPO linux-rt/librtpi
+ REF "${VERSION}"
+ SHA512 2665c32867f498d37daaec68a66f5d226de8c2f29bd57f784fbf33245aa5fc3dc173bb80d948b1b5c2c03798dce3fbd9638a3c0ec3816430ecfc7436cea9566e
+ HEAD_REF main
+)
+
+vcpkg_configure_make(
+ SOURCE_PATH "${SOURCE_PATH}"
+ AUTOCONFIG
+)
+
+vcpkg_install_make()
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+
+file(INSTALL "${CURRENT_PORT_DIR}/unofficial-${PORT}-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}")