[argus] New port at version 0.1.0 (#46296)

This commit is contained in:
GioGio 2025-07-20 23:16:05 +02:00 committed by GitHub
parent b91c3336ae
commit 5d843dda5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 61 additions and 0 deletions

View File

@ -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")

22
ports/argus/vcpkg.json Normal file
View File

@ -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"
]
}
}
}

9
versions/a-/argus.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "abb6b37bc3ad957fae11e7dabb205928dcf14f2f",
"version": "0.1.0",
"port-version": 0
}
]
}

View File

@ -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