mirror of https://github.com/microsoft/vcpkg.git
[argus] New port at version 0.1.0 (#46296)
This commit is contained in:
parent
b91c3336ae
commit
5d843dda5c
|
|
@ -0,0 +1,26 @@
|
|||
vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO lucocozz/Argus
|
||||
REF "v${VERSION}"
|
||||
SHA512 8464448d0aa664c8bf9f6992ee31db6827fd7b94c376446f4abe4ba8ff05ed85e86efc40fc9e9cbfb469a8fec5efaf2f8cb20cd28402a2091a614b157a63cf0b
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
set(OPTIONS "")
|
||||
if(NOT "regex" IN_LIST FEATURES)
|
||||
list(APPEND OPTIONS -Dregex=false)
|
||||
endif()
|
||||
vcpkg_configure_meson(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${OPTIONS}
|
||||
-Dbenchmarks=false
|
||||
-Dexamples=false
|
||||
-Dtests=false
|
||||
)
|
||||
|
||||
vcpkg_install_meson()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "argus",
|
||||
"version": "0.1.0",
|
||||
"description": "Argus is a cross-platform modern feature-rich command-line argument parser for C",
|
||||
"homepage": "https://github.com/lucocozz/argus",
|
||||
"license": "MIT",
|
||||
"supports": "!(windows & static) & !(windows & x86)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"regex": {
|
||||
"description": "Enable regex validation support using PCRE2",
|
||||
"dependencies": [
|
||||
"pcre2"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "abb6b37bc3ad957fae11e7dabb205928dcf14f2f",
|
||||
"version": "0.1.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -240,6 +240,10 @@
|
|||
"baseline": "0.3.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"argus": {
|
||||
"baseline": "0.1.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"aricpp": {
|
||||
"baseline": "1.2.1",
|
||||
"port-version": 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue