diff options
| author | Михайлов Антон <anion155@gmail.com> | 2020-01-31 00:29:24 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-30 11:29:24 -0800 |
| commit | c0946497a0987b4aee8b1c548540150d76ca4915 (patch) | |
| tree | 74c461b615b7bc1f3df2ed687062d35d8b06180d | |
| parent | 9a206d9fc0cce362c70b31fe99d3aaebffe5671d (diff) | |
| download | vcpkg-c0946497a0987b4aee8b1c548540150d76ca4915.tar.gz vcpkg-c0946497a0987b4aee8b1c548540150d76ca4915.zip | |
[quaternions] Add new port (#9837)
* feat(quaternions): add control file
* feat(quaternions): add portfile
| -rw-r--r-- | ports/quaternions/CONTROL | 5 | ||||
| -rw-r--r-- | ports/quaternions/portfile.cmake | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/quaternions/CONTROL b/ports/quaternions/CONTROL new file mode 100644 index 000000000..cc5fd6554 --- /dev/null +++ b/ports/quaternions/CONTROL @@ -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 diff --git a/ports/quaternions/portfile.cmake b/ports/quaternions/portfile.cmake new file mode 100644 index 000000000..2613abed8 --- /dev/null +++ b/ports/quaternions/portfile.cmake @@ -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) |
