doxygen: cross build support.
This commit is contained in:
parent
d317d74efa
commit
4c4875d457
|
@ -1,9 +1,8 @@
|
|||
# Template file for 'doxygen'
|
||||
pkgname=doxygen
|
||||
version=1.8.6
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="perl python flex"
|
||||
makedepends="qt-devel"
|
||||
short_desc="Source code documentation generator tool"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.doxygen.org/"
|
||||
|
@ -11,23 +10,29 @@ license="GPL-2"
|
|||
distfiles="http://ftp.stack.nl/pub/users/dimitri/${pkgname}-${version}.src.tar.gz"
|
||||
checksum=6a718625f0c0c1eb3dee78ec1f83409b49e790f4c6c47fd44cd51cb92695535f
|
||||
|
||||
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() {
|
||||
./configure --prefix /usr --with-doxywizard
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
args="--with-doxywizard"
|
||||
fi
|
||||
./configure --prefix /usr ${args}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} CXXFLAGS="${CXXFLAGS}"
|
||||
make ${makejobs} CC=$CC CXX=$CXX LINK=$CXX 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"
|
||||
pkg_install() {
|
||||
vmove usr/bin/doxywizard
|
||||
vmove usr/share/man/man1/doxywizard.1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue