From dfa01ba5ff29af14891f197fbae569278936285b Mon Sep 17 00:00:00 2001 From: Mark Ian Holland Date: Sun, 4 Nov 2018 19:29:53 +0000 Subject: [PATCH] [linalg] inital port (#4625) --- ports/linalg/CONTROL | 3 +++ ports/linalg/portfile.cmake | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 ports/linalg/CONTROL create mode 100644 ports/linalg/portfile.cmake diff --git a/ports/linalg/CONTROL b/ports/linalg/CONTROL new file mode 100644 index 000000000..eb2afe6f3 --- /dev/null +++ b/ports/linalg/CONTROL @@ -0,0 +1,3 @@ +Source: linalg +Version: 2.1 +Description: linalg.h is a single header public domain linear algebra library for C++11 diff --git a/ports/linalg/portfile.cmake b/ports/linalg/portfile.cmake new file mode 100644 index 000000000..4f2777755 --- /dev/null +++ b/ports/linalg/portfile.cmake @@ -0,0 +1,12 @@ +#header-only library +include(vcpkg_common_functions) +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO sgorsten/linalg + REF v2.1 + SHA512 48d8248ea1bca3d4fe35d038690f496cd0c8c9469d76eca684668ce6fef5df0eb9556f9b49e4da90e2c2e8ef475791877aa815c3f9437c097fbfc303134d02d7 + HEAD_REF master +) + +configure_file(${SOURCE_PATH}/UNLICENSE ${CURRENT_PACKAGES_DIR}/share/linalg/copyright COPYONLY) +configure_file(${SOURCE_PATH}/linalg.h ${CURRENT_PACKAGES_DIR}/include/linalg.h COPYONLY) \ No newline at end of file