aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ian Holland <markianholland@live.co.uk>2018-11-04 19:29:53 +0000
committerRobert Schumacher <roschuma@microsoft.com>2018-11-04 11:29:53 -0800
commitdfa01ba5ff29af14891f197fbae569278936285b (patch)
treebc1e86a321e39934675b2650b0e1d10fbdefee50
parentf11fd8aa5de71d6664b6dfb0b5425308b6426bcc (diff)
downloadvcpkg-dfa01ba5ff29af14891f197fbae569278936285b.tar.gz
vcpkg-dfa01ba5ff29af14891f197fbae569278936285b.zip
[linalg] inital port (#4625)
-rw-r--r--ports/linalg/CONTROL3
-rw-r--r--ports/linalg/portfile.cmake12
2 files changed, 15 insertions, 0 deletions
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