void-packages/srcpkgs/gede/template

28 lines
822 B
Bash

# Template file for 'gede'
pkgname=gede
version=2.12.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=b7dd593f9ec3e8a99f05a4be2bfdbcc0e6e9d8aac2fad1cf5a8cb614fcda3c10
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
}