void-packages/srcpkgs/doxygen/template

39 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'doxygen'
pkgname=doxygen
2014-12-26 16:20:58 +01:00
version=1.8.9
2014-04-22 22:45:05 +02:00
revision=1
2013-12-26 07:06:39 +01:00
hostmakedepends="perl python flex"
short_desc="Source code documentation generator tool"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-08-18 10:28:13 +02:00
homepage="http://www.doxygen.org/"
license="GPL-2"
2012-12-27 12:25:21 +01:00
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"
2014-12-26 16:20:58 +01:00
checksum=f0dd662fb98c394c20deed5b00b29d73d9bee8ea1a52f7a687dd9b70f5444fc6
2014-03-14 10:39:55 +01:00
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
2012-01-22 11:32:23 +01:00
do_configure() {
2014-03-14 10:39:55 +01:00
if [ -z "$CROSS_BUILD" ]; then
args="--with-doxywizard"
fi
./configure --prefix /usr ${args}
2011-08-18 10:28:13 +02:00
}
2012-01-22 11:32:23 +01:00
do_build() {
2014-03-14 10:39:55 +01:00
make ${makejobs} CC=$CC CXX=$CXX LINK=$CXX CXXFLAGS="${CXXFLAGS}"
2011-01-19 00:14:27 +01:00
}
2012-01-22 11:32:23 +01:00
do_install() {
2011-01-19 00:14:27 +01:00
make INSTALL=${DESTDIR}/usr MAN1DIR=share/man/man1 install
}