[quaternions] Add new port (#9837)

* feat(quaternions): add control file

* feat(quaternions): add portfile
This commit is contained in:
Михайлов Антон 2020-01-31 00:29:24 +05:00 committed by GitHub
parent 9a206d9fc0
commit c0946497a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Source: quaternions
Version: 1.0.0
Description: A C++11 library to work with quaternions, as a single header file.
Homepage: https://github.com/ferd36/quaternions
Build-Depends: boost-mpl

View File

@ -0,0 +1,12 @@
# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ferd36/quaternions
REF 68fc6c7fb392b1a920779d80bb75879263329ff5
SHA512 b7b934a493645e9c9ec04d581d2e5af57298325086919c20fbaa13df264c16cb5a0e380042cf5a0cfddbf142c82e5da63b84e8f2bc90615b1eccad83a1c9df88
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)