vcpkg-registryRegistry containing personal projects |
git clone git://git.dimitrijedobrota.com/vcpkg-registry.git |
Log | Files | Refs | |
commit | 487d7c36bb87d45fb7f98f5bd6c7dd0bed9b8c08 |
parent | 1ea199611ee1d182c07f3d79ca9ecb3cd1b29db4 |
author | Dimitrije Dobrota <mail@dimitrijedobrota.com> |
date | Sun, 9 Mar 2025 19:54:41 +0100 |
Add Poafloc library
Diffstat:A | ports/poafloc/portfile.cmake | | | +++++++++++++++++++++++++++++ |
A | ports/poafloc/vcpkg.json | | | +++++++++++++++++ |
M | versions/baseline.json | | | ++++ |
A | versions/p-/poafloc.json | | | +++++++++ |
4 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/ports/poafloc/portfile.cmake b/ports/poafloc/portfile.cmake
@@ -0,0 +1,29 @@
vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL git://git.dimitrijedobrota.com/poafloc.git
REF 5c4cf9d0404e3ccdfd69206e6d9faeef1203666a
HEAD_REF master
)
set(name poafloc)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-D${name}_INSTALL_CMAKEDIR=share/${name}"
OPTIONS_DEBUG
"-D${name}_INSTALL_HEADERS=OFF"
)
# set(VCPKG_BUILD_TYPE release) # header-only
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME "${name}")
vcpkg_copy_pdbs()
configure_file(
"${SOURCE_PATH}/LICENSE.md"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright"
COPYONLY
)
diff --git a/ports/poafloc/vcpkg.json b/ports/poafloc/vcpkg.json
@@ -0,0 +1,17 @@
{
"name": "poafloc",
"version": "1.2.0",
"description": "Parser Of Arguments For Lines Of Commands",
"homepage": "https://git.dimitrijedobrota.com/poafloc.git",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
diff --git a/versions/baseline.json b/versions/baseline.json
@@ -3,6 +3,10 @@
"cemplate": {
"baseline": "0.2.0",
"port-version": 0
},
"poafloc": {
"baseline": "1.2.0",
"port-version": 0
}
}
}
diff --git a/versions/p-/poafloc.json b/versions/p-/poafloc.json
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7b787fe4d642665dfce8f75e0e5aada3280bbda1",
"version": "1.2.0",
"port-version": 0
}
]
}