void-packages/srcpkgs/doxygen/template
2015-01-05 08:13:39 +00:00

38 lines
1 KiB
Text

# Template file for 'doxygen'
pkgname=doxygen
version=1.8.9.1
revision=1
hostmakedepends="perl python flex"
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"
update_site="http://www.stack.nl/~dimitri/doxygen/download.html"
update_ignore="*.bin"
checksum=d4ab6e28d4d45d8956cad17470aade3fbe2356e8f64b92167e738c1887feccec
if [ -z "$CROSS_BUILD" ]; then
makedepends="qt-devel"
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
}
}
fi
do_configure() {
if [ -z "$CROSS_BUILD" ]; then
args="--with-doxywizard"
fi
./configure --prefix /usr ${args}
}
do_build() {
make ${makejobs} CC=$CC CXX=$CXX LINK=$CXX CXXFLAGS="${CXXFLAGS}"
}
do_install() {
make INSTALL=${DESTDIR}/usr MAN1DIR=share/man/man1 install
}