void-packages/srcpkgs/doxygen/template

39 lines
888 B
Text

# Template file for 'doxygen'
pkgname=doxygen
version=1.8.3
revision=1
subpackages="${pkgname}-gui"
makedepends="perl flex 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=87010970dbffe769641bf212584c7cf94db1c7e82bc335b43b6c649f5f7d8273
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 for doxygen"
pkg_install() {
vmove usr/bin/doxywizard
vmove usr/share/man/man1/doxywizard.1
}
}
doxygen_package() {
pkg_install() {
vmove usr
}
}