aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/linmath/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/linmath/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/linmath/portfile.cmake')
-rw-r--r--vcpkg/ports/linmath/portfile.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/linmath/portfile.cmake b/vcpkg/ports/linmath/portfile.cmake
new file mode 100644
index 0000000..40550a3
--- /dev/null
+++ b/vcpkg/ports/linmath/portfile.cmake
@@ -0,0 +1,12 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO datenwolf/linmath.h
+ REF 3eef82841046507e16a0f6194a61cee2eadd34b3
+ SHA512 cd8bc9c29b984cbb2fb1a1e743566e8f099d243c294658e84980cdbd83c881122f1abee68c50139ee9fddaa96f22f52eeae8e26dc86caa114cd11ebe5644a4db
+ HEAD_REF master
+)
+
+# This is a header only library
+file(INSTALL "${SOURCE_PATH}/linmath.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/linmath.h")
+
+file(INSTALL "${SOURCE_PATH}/LICENCE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")