mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
dosbox: adding debug mode as a build option
This commit is contained in:
parent
058bc51cf6
commit
8ba3dae743
1 changed files with 12 additions and 0 deletions
|
@ -12,6 +12,18 @@ homepage="http://www.dosbox.com"
|
|||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/dosbox-${version/pl/-}.tar.gz"
|
||||
checksum=c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a
|
||||
|
||||
build_options="debug debug_heavy"
|
||||
desc_option_debug="Build DOSBox with debugging capabilities."
|
||||
desc_option_debug_heavy="Build DOSBox with extended debugging capabilities."
|
||||
|
||||
if [ "$build_option_debug_heavy" ]; then
|
||||
configure_args+=" --enable-debug=heavy"
|
||||
makedepends+=" ncurses-devel"
|
||||
elif [ "$build_option_debug" ]; then
|
||||
configure_args+=" --enable-debug"
|
||||
makedepends+=" ncurses-devel"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vdoc README
|
||||
vdoc docs/README.video
|
||||
|
|
Loading…
Add table
Reference in a new issue