[linalg] inital port (#4625)

This commit is contained in:
Mark Ian Holland 2018-11-04 19:29:53 +00:00 committed by Robert Schumacher
parent f11fd8aa5d
commit dfa01ba5ff
2 changed files with 15 additions and 0 deletions

3
ports/linalg/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: linalg
Version: 2.1
Description: linalg.h is a single header public domain linear algebra library for C++11

View File

@ -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)