[yas] Initial port (#8891)

* [yas] Initial port

* [yas] vcpkg conformance fixes

* [yas] Fix wrong license

* [yas] Remove unused license file
This commit is contained in:
Rémy Tassoux 2020-01-06 23:53:56 +01:00 committed by dan-shaw
parent 153cab79c7
commit 1328990e56
2 changed files with 15 additions and 0 deletions

4
ports/yas/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: yas
Version: 7.0.4
Homepage: https://github.com/niXman/yas
Description: Yet Another Serialization is a header only serialization library

11
ports/yas/portfile.cmake Normal file
View File

@ -0,0 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO niXman/yas
REF 572d6b4c405ce2c808c06a5bb88a66b0b98b85a5
SHA512 3cc9df7b5d286c7c08350737677b71e255fdd60af52e56b975289ce8ad857cca374a907c5eea83da0240fbf2a92c960af26648df9fa11da7106ea630b8ddc10f
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/include/yas DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/include/yas/version.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)