void-packages/srcpkgs/doxygen/template

40 lines
869 B
Plaintext

# Template file for 'doxygen'
pkgname=doxygen
version=1.8.5
revision=1
hostmakedepends="perl flex"
makedepends="qt-devel"
short_desc="Source code documentation generator tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.doxygen.org/"
license="GPL-2"
distfiles="http://ftp.stack.nl/pub/users/dimitri/${pkgname}-${version}.src.tar.gz"
checksum=243a8b67db12ad68d6ea5b51c6f60dc2cc3a34fa47abf1b5b4499196c3d7cc25
do_configure() {
./configure --prefix /usr --with-doxywizard
}
do_build() {
make ${makejobs} CXXFLAGS="${CXXFLAGS}"
}
do_install() {
make INSTALL=${DESTDIR}/usr MAN1DIR=share/man/man1 install
}
doxygen-gui_package() {
depends="doxygen>=${version}"
short_desc+=" - QT GUI configuration tool"
pkg_install() {
vmove usr/bin/doxywizard
vmove usr/share/man/man1/doxywizard.1
}
}
doxygen_package() {
pkg_install() {
vmove usr
}
}