[neargye-semver] Add new port (#12406)

* [semver] Add new port

* [neargye-semver] Changed port name to a more specific neargye-semver.

- Also moved the header file into a subdirectory.
This commit is contained in:
Vennor 2020-07-28 23:18:14 +02:00 committed by GitHub
parent 25412e1f46
commit 0babd2ff24
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,4 @@
Source: neargye-semver
Version: 0.2.2
Description: C++17 header-only dependency-free versioning library complying with Semantic Versioning 2.0.0
Homepage: https://github.com/Neargye/semver

View File

@ -0,0 +1,13 @@
# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Neargye/semver
REF v0.2.2
SHA512 f299e6d74f0232f40e20959ed3d7138d5faff924f60748827849e21951d76d34070bac2479a35f3ea6e801ec5e23ebf8391adedc70d778c4aa5e4c89b20c332c
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/include/semver.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/neargye)
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)