void-packages/srcpkgs/doxygen/template

30 lines
748 B
Bash

# Template file for 'doxygen'
pkgname=doxygen
version=1.8.14
revision=2
build_style=cmake
hostmakedepends="perl python flex"
short_desc="Source code documentation generator tool"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.doxygen.org/"
distfiles="http://doxygen.nl/files/${pkgname}-${version}.src.tar.gz"
checksum=d1757e02755ef6f56fd45f1f4398598b920381948d6fcfa58f5ca6aa56f59d4d
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