diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/linmath | |
Diffstat (limited to 'vcpkg/ports/linmath')
| -rw-r--r-- | vcpkg/ports/linmath/portfile.cmake | 12 | ||||
| -rw-r--r-- | vcpkg/ports/linmath/vcpkg.json | 7 |
2 files changed, 19 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")
diff --git a/vcpkg/ports/linmath/vcpkg.json b/vcpkg/ports/linmath/vcpkg.json new file mode 100644 index 0000000..30386c5 --- /dev/null +++ b/vcpkg/ports/linmath/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "linmath", + "version-date": "2022-07-30", + "description": "linmath.h -- A small library for linear math as required for computer graphics", + "homepage": "https://github.com/datenwolf/linmath.h", + "license": "WTFPL" +} |