aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/plf-nanotimer/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/plf-nanotimer/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/plf-nanotimer/portfile.cmake')
-rw-r--r--vcpkg/ports/plf-nanotimer/portfile.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/plf-nanotimer/portfile.cmake b/vcpkg/ports/plf-nanotimer/portfile.cmake
new file mode 100644
index 0000000..c02495d
--- /dev/null
+++ b/vcpkg/ports/plf-nanotimer/portfile.cmake
@@ -0,0 +1,14 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mattreecebentley/plf_nanotimer
+ REF bc8b44d2befc4395f63701c923ece89835d8415c
+ SHA512 ec816e82ab855dd7029b03931ffb1e945d3e77f7bb446c4985c4a8404afe20e9de8fac02f64459c47c34e31c06fa8838dba310263197d309e39ec1b0b5da0b6d
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/plf_nanotimer.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+# Handle copyright
+configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)