1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:57:47 +00:00

Ports: Add doxygen v1.9.7

This commit is contained in:
Gurkirat Singh 2023-08-21 05:54:49 +05:30 committed by Tim Schumacher
parent e4dd4808c4
commit 4519ac2da9
4 changed files with 60 additions and 0 deletions

30
Ports/doxygen/package.sh Executable file
View file

@ -0,0 +1,30 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='doxygen'
version='1.9.7'
files=(
"https://github.com/doxygen/doxygen/archive/refs/tags/Release_${version//./_}.tar.gz 691777992a7240ed1f822a5c2ff2c4273b57c1cf9fc143553d87f91a0c5970ee"
)
workdir="${port}-Release_${version//./_}"
useconfigure='true'
configopts=(
'-Bbuild'
'-GNinja'
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
'-DCMAKE_BUILD_TYPE=Release'
'-DCMAKE_POLICY_DEFAULT_CMP0148=OLD'
)
depends=(
'libiconv'
)
configure() {
run cmake "${configopts[@]}"
}
build() {
run cmake --build build -j "$MAKEJOBS"
}
install() {
run cmake --install build --prefix "$SERENITY_INSTALL_ROOT"
}