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/linalg | |
Diffstat (limited to 'vcpkg/ports/linalg')
| -rw-r--r-- | vcpkg/ports/linalg/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/linalg/vcpkg.json | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/linalg/portfile.cmake b/vcpkg/ports/linalg/portfile.cmake new file mode 100644 index 0000000..27aa891 --- /dev/null +++ b/vcpkg/ports/linalg/portfile.cmake @@ -0,0 +1,13 @@ +#header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO sgorsten/linalg + REF "v${VERSION}" + SHA512 736f6ff83fcc4a772ef5ab8e574b0e56aca9fcf2318d92f56f94684ffbd7283540b6496381d52834545b4902147bc67a3afa21ab877bc44bba84471c2eff6862 + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/linalg.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/UNLICENSE") diff --git a/vcpkg/ports/linalg/vcpkg.json b/vcpkg/ports/linalg/vcpkg.json new file mode 100644 index 0000000..2b0d2d5 --- /dev/null +++ b/vcpkg/ports/linalg/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "linalg", + "version": "2.2", + "description": "linalg.h is a single header public domain linear algebra library for C++11", + "homepage": "https://github.com/sgorsten/linalg", + "license": "Unlicense" +} |