31 lines
909 B
Bash
31 lines
909 B
Bash
# Template file for 'doxygen'
|
|
pkgname=doxygen
|
|
version=1.9.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DCMAKE_BUILD_TYPE=None"
|
|
hostmakedepends="perl python3 flex"
|
|
checkdepends="libxml2 texlive-BibTeX"
|
|
short_desc="Source code documentation generator tool"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://www.doxygen.org/"
|
|
changelog="https://www.doxygen.nl/manual/changelog.html"
|
|
distfiles="http://doxygen.nl/files/doxygen-${version}.src.tar.gz"
|
|
checksum=060f254bcef48673cc7ccf542736b7455b67c110b30fdaa33512a5b09bbecee5
|
|
|
|
build_options="wizard"
|
|
desc_option_wizard="build Qt5 GUI configuration tool, doxywizard"
|
|
|
|
if [ "$build_option_wizard" ]; then
|
|
configure_args+=" -Dbuild_wizard=1"
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
makedepends+=" qt5-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vman doc/doxygen.1
|
|
if [ "$build_option_wizard" ]; then
|
|
vman doc/doxywizard.1
|
|
fi
|
|
}
|