void-packages/srcpkgs/doxygen/template

29 lines
753 B
Bash

# Template file for 'doxygen'
pkgname=doxygen
version=1.8.15
revision=1
build_style=cmake
hostmakedepends="perl python flex"
short_desc="Source code documentation generator tool"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.doxygen.org/"
distfiles="http://doxygen.nl/files/doxygen-${version}.src.tar.gz"
checksum=bd9c0ec462b6a9b5b41ede97bede5458e0d7bb40d4cfa27f6f622eb33c59245d
post_install() {
vman doc/doxygen.1
}
if [ -z "$CROSS_BUILD" ]; then
makedepends="qt5-devel"
configure_args+=" -Dbuild_wizard=1"
doxygen-gui_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - GUI configuration tool"
pkg_install() {
vmove usr/bin/doxywizard
vman doc/doxywizard.1
}
}
fi