redox/recipes/wip/dev/other/doxygen/recipe.toml
2024-06-30 08:02:02 +00:00

21 lines
616 B
TOML

#TODO maybe incomplete script, see https://www.doxygen.nl/manual/install.html#install_src_unix
[source]
tar = "https://www.doxygen.nl/files/doxygen-1.9.8.src.tar.gz"
[build]
template = "custom"
script = """
COOKBOOK_CONFIGURE="cmake"
COOKBOOK_CONFIGURE_FLAGS=(
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CROSSCOMPILING=True
-DCMAKE_EXE_LINKER_FLAGS="-static"
-DCMAKE_INSTALL_PREFIX="/"
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
-DCMAKE_SYSTEM_NAME=Generic
-DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
-DCMAKE_VERBOSE_MAKEFILE=On
"${COOKBOOK_SOURCE}"
)
cookbook_configure
"""