mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:28:00 +08:00
[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:
parent
25412e1f46
commit
0babd2ff24
4
ports/neargye-semver/CONTROL
Normal file
4
ports/neargye-semver/CONTROL
Normal 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
|
13
ports/neargye-semver/portfile.cmake
Normal file
13
ports/neargye-semver/portfile.cmake
Normal 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)
|
Loading…
x
Reference in New Issue
Block a user