void-packages/srcpkgs/gede/template

28 lines
822 B
Bash

# Template file for 'gede'
pkgname=gede
version=2.12.2
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=f09af99f4002985b97467da22904ff59a7954c057ebdc732a22182bd1e7eaf08
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
}