void-packages/srcpkgs/gede/template
2018-08-15 13:30:18 +02:00

27 lines
822 B
Bash

# Template file for 'gede'
pkgname=gede
version=2.11.5
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=1b45efb0fc2b80ccac40684be35a5cd5586755164cf5a4fc086d98e097e47378
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
}