mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[jsmn] Add new port (#6248)
This commit is contained in:
parent
b500a0dc22
commit
81cc0f387e
3
ports/jsmn/CONTROL
Normal file
3
ports/jsmn/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: jsmn
|
||||
Version: 2019-04-27
|
||||
Description: A minimalistic JSON parser in C.
|
16
ports/jsmn/portfile.cmake
Normal file
16
ports/jsmn/portfile.cmake
Normal file
@ -0,0 +1,16 @@
|
||||
# header-only library
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO zserge/jsmn
|
||||
REF fdcef3ebf886fa210d14956d3c068a653e76a24e
|
||||
SHA512 ec3a6b106b868238aa626e5b4477ace4414f385a35c695a583598975202b73a2a446143eb5f0ea73b0a84113c610ea36e64341fccecd1d1ddd9080e06f599575
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${SOURCE_PATH}/jsmn.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
|
||||
# Handle copyright
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
Loading…
x
Reference in New Issue
Block a user