mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 08:43:33 +08:00
[xpack] Add new port (#29439)
* add xpack * x-add-version * modify portfile.cmake, remove unused line * update version * update xpack port * update version info
This commit is contained in:
parent
4f7e4b0193
commit
6015f38db2
19
ports/xpack/portfile.cmake
Normal file
19
ports/xpack/portfile.cmake
Normal file
@ -0,0 +1,19 @@
|
||||
# xpack - Header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO xyz347/xpack
|
||||
REF 137467c05badd88b8569d161f27afb498ea4ff9a
|
||||
SHA512 349ff9fb9ca74bd1401d8f0f121b263e40c021fde57a500d31eb14eeba8f3d3e8d7f6f629fc696d3052095d311700aa42b7b3a0a19c61787246e6680ea27928e
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(GLOB header_files
|
||||
"${SOURCE_PATH}/*.h"
|
||||
"${SOURCE_PATH}/*.hpp")
|
||||
file(COPY ${header_files}
|
||||
"${SOURCE_PATH}/xpack.pri"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
||||
|
||||
# Handle copyright
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
11
ports/xpack/vcpkg.json
Normal file
11
ports/xpack/vcpkg.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "xpack",
|
||||
"version-date": "2023-02-06",
|
||||
"description": "Convert C++ struct from/to json/xml",
|
||||
"homepage": "https://github.com/xyz347/xpack",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": [
|
||||
"rapidjson",
|
||||
"rapidxml"
|
||||
]
|
||||
}
|
@ -8396,6 +8396,10 @@
|
||||
"baseline": "2021-11-20",
|
||||
"port-version": 0
|
||||
},
|
||||
"xpack": {
|
||||
"baseline": "2023-02-06",
|
||||
"port-version": 0
|
||||
},
|
||||
"xproperty": {
|
||||
"baseline": "0.8.1",
|
||||
"port-version": 1
|
||||
|
9
versions/x-/xpack.json
Normal file
9
versions/x-/xpack.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5123943d7e13cfac8d5a58f7fe3cf027275e5bee",
|
||||
"version-date": "2023-02-06",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user