diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2019-08-15 13:35:57 -0700 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2019-08-15 13:35:57 -0700 |
| commit | 034d5c9afc8a2dec4c7d9f5046e3192fec28ade9 (patch) | |
| tree | 7080f35d0127e9cb330949b83a17c6836362bb13 | |
| parent | 7dcaf395815e729041162cf8391c58f0e154715b (diff) | |
| download | vcpkg-034d5c9afc8a2dec4c7d9f5046e3192fec28ade9.tar.gz vcpkg-034d5c9afc8a2dec4c7d9f5046e3192fec28ade9.zip | |
[hfsm2] Add new port (#7516)
* [hfsm2] Add new port
* [Update the way to install headers]
* Add build depends
| -rw-r--r-- | ports/hfsm2/CONTROL | 5 | ||||
| -rw-r--r-- | ports/hfsm2/portfile.cmake | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/hfsm2/CONTROL b/ports/hfsm2/CONTROL new file mode 100644 index 000000000..4677f8b08 --- /dev/null +++ b/ports/hfsm2/CONTROL @@ -0,0 +1,5 @@ +Source: hfsm2 +Version: beta7 +Homepage: https://github.com/andrew-gresyk/HFSM2 +Description: Header-only heriarchical FSM framework in C++14, with fully statically-defined structure (no dynamic allocations), built with variadic templates. +Build-Depends: catch2 diff --git a/ports/hfsm2/portfile.cmake b/ports/hfsm2/portfile.cmake new file mode 100644 index 000000000..0970d0111 --- /dev/null +++ b/ports/hfsm2/portfile.cmake @@ -0,0 +1,15 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO andrew-gresyk/HFSM2 + REF Beta7 + SHA512 f3365c0823fa63f7e6b82bd2dc84f8871eb58ffd9485753a60ea8f956856cbec7c5da3929ab8fe8b5902a7c840334a1d421417984124adf109f96756490ac437 + HEAD_REF master +) + +# Install include directory +file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) |
