void-packages/srcpkgs/doxygen/template

30 lines
767 B
Bash

# Template file for 'doxygen'
pkgname=doxygen
version=1.8.11
revision=1
build_style=cmake
hostmakedepends="cmake perl python flex"
short_desc="Source code documentation generator tool"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.doxygen.org/"
license="GPL-2"
distfiles="http://ftp.stack.nl/pub/users/dimitri/${pkgname}-${version}.src.tar.gz"
checksum=65d08b46e48bd97186aef562dc366681045b119e00f83c5b61d05d37ea154049
post_install() {
vman doc/doxygen.1
}
if [ -z "$CROSS_BUILD" ]; then
makedepends="qt-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