# $Id: PKGBUILD 84267 2010-06-28 05:13:23Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=doxygen
pkgver=1.8.2
pkgrel=1
pkgdesc="A documentation system for C++, C, Java, IDL and PHP"
license=('GPL')
arch=(i686 x86_64)
url="http://www.doxygen.org/"
depends=('gcc-libs')
# qt required to build and run doxywizard, but don't want to drag it in
makedepends=('flex' 'qt')
optdepends=('graphviz: for caller/callee graph generation'
            'qt: for doxywizard')
source=(ftp://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  QTDIR=/usr ./configure --prefix /usr --with-doxywizard
  make || return 1
  make INSTALL=${startdir}/pkg/usr MAN1DIR=share/man/man1 install
}


md5sums=('6fa7baf995fa3f71cfc09e264ba88a83')