void-packages/srcpkgs/gede/template
2018-07-18 17:38:48 +02:00

27 lines
822 B
Bash

# Template file for 'gede'
pkgname=gede
version=2.10.3
revision=1
build_style=qmake
build_options="qt5"
build_options_default="qt5"
build_wrksrc="src"
hostmakedepends="python $(vopt_if qt5 qt5-qmake qt-qmake)"
makedepends="$(vopt_if qt5 qt5-devel qt-devel)"
depends="gdb ctags"
short_desc="Graphical frontend (GUI) to GDB written in Qt"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD"
homepage="http://acidron.com/gede"
distfiles="http://gede.acidron.com/uploads/source/${pkgname}-${version}.tar.xz"
checksum=f0ba17c608014f80e56dd9599173428ed106db48cfa7e450e58ff2f6b756ce30
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" $(vopt_if qt5 'qt5-host-tools qt5-devel' 'qt-host-tools qt-devel')"
fi
do_install() {
cd $wrksrc
python2 build.py install --prefix="${PKGDESTDIR}/usr" install
vlicense LICENSE
}