2010-01-18 22:23:34 +00:00
|
|
|
# Template file for 'doxygen'
|
|
|
|
pkgname=doxygen
|
2013-12-26 06:04:41 +00:00
|
|
|
version=1.8.6
|
2014-03-14 09:39:55 +00:00
|
|
|
revision=2
|
2013-12-26 06:06:39 +00:00
|
|
|
hostmakedepends="perl python flex"
|
2010-01-18 22:23:34 +00:00
|
|
|
short_desc="Source code documentation generator tool"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-18 08:28:13 +00:00
|
|
|
homepage="http://www.doxygen.org/"
|
|
|
|
license="GPL-2"
|
2012-12-27 11:25:21 +00:00
|
|
|
distfiles="http://ftp.stack.nl/pub/users/dimitri/${pkgname}-${version}.src.tar.gz"
|
2013-12-26 06:04:41 +00:00
|
|
|
checksum=6a718625f0c0c1eb3dee78ec1f83409b49e790f4c6c47fd44cd51cb92695535f
|
2010-01-18 22:23:34 +00:00
|
|
|
|
2014-03-14 09:39:55 +00: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 10:32:23 +00:00
|
|
|
do_configure() {
|
2014-03-14 09:39:55 +00:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
args="--with-doxywizard"
|
|
|
|
fi
|
|
|
|
./configure --prefix /usr ${args}
|
2011-08-18 08:28:13 +00:00
|
|
|
}
|
|
|
|
|
2012-01-22 10:32:23 +00:00
|
|
|
do_build() {
|
2014-03-14 09:39:55 +00:00
|
|
|
make ${makejobs} CC=$CC CXX=$CXX LINK=$CXX CXXFLAGS="${CXXFLAGS}"
|
2011-01-18 23:14:27 +00:00
|
|
|
}
|
|
|
|
|
2012-01-22 10:32:23 +00:00
|
|
|
do_install() {
|
2011-01-18 23:14:27 +00:00
|
|
|
make INSTALL=${DESTDIR}/usr MAN1DIR=share/man/man1 install
|
2010-04-24 14:30:23 +00:00
|
|
|
}
|