ports/dagir: add portfile.cmake (DagIR) (#48402)

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
Alan Jowett
2025-11-20 14:13:23 -08:00
committed by GitHub
parent 61a1513d15
commit 0fcc41a74a
4 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
set(VCPKG_BUILD_TYPE release) # header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Alan-Jowett/dagir
REF 0.1.0
SHA512 0450b03c282daa9b941a56283ccc00663c8eb66c9d02bdae05d2ea5dd60c4048a30ba4b4d3f51fe51d7a7f43132d48989140fc02d088522a2177ff779c204ed3
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DDAGIR_BUILD_TESTS=OFF
-DDAGIR_EXAMPLES=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/DagIR")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

17
ports/dagir/vcpkg.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "dagir",
"version": "0.1.0",
"description": "Header-only C++20 library for read-only external DAG views, traversal, and IR rendering",
"homepage": "https://github.com/Alan-Jowett/dagir",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@@ -2316,6 +2316,10 @@
"baseline": "1.13",
"port-version": 0
},
"dagir": {
"baseline": "0.1.0",
"port-version": 0
},
"darknet": {
"baseline": "2024-10-10",
"port-version": 1

9
versions/d-/dagir.json Normal file
View File

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