mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 01:23:51 +02:00
doxygen: guard doxywizard behind a build_option disabled by default.
This commit is contained in:
parent
8cc7c2f06f
commit
2d3350299c
2 changed files with 12 additions and 15 deletions
|
@ -1 +0,0 @@
|
|||
doxygen
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'doxygen'
|
||||
pkgname=doxygen
|
||||
version=1.8.15
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
hostmakedepends="perl python flex"
|
||||
short_desc="Source code documentation generator tool"
|
||||
|
@ -11,19 +11,17 @@ homepage="http://www.doxygen.org/"
|
|||
distfiles="http://doxygen.nl/files/doxygen-${version}.src.tar.gz"
|
||||
checksum=bd9c0ec462b6a9b5b41ede97bede5458e0d7bb40d4cfa27f6f622eb33c59245d
|
||||
|
||||
build_options="wizard"
|
||||
desc_option_wizard="build Qt5 GUI configuration tool, doxywizard"
|
||||
|
||||
if [ "$build_option_wizard" ]; then
|
||||
configure_args+=" -Dbuild_wizard=1"
|
||||
makedepends+=" qt5-devel"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vman doc/doxygen.1
|
||||
if [ "$build_option_wizard" ]; then
|
||||
vman doc/doxywizard.1
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
makedepends="qt5-devel"
|
||||
configure_args+=" -Dbuild_wizard=1"
|
||||
doxygen-gui_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - GUI configuration tool"
|
||||
pkg_install() {
|
||||
vmove usr/bin/doxywizard
|
||||
vman doc/doxywizard.1
|
||||
}
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue