void-packages/srcpkgs/gede/template
2018-08-24 11:36:07 +02:00

27 lines
822 B
Bash

# Template file for 'gede'
pkgname=gede
version=2.11.7
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=97f275a8881ae7191af7c2c2404d550ff5bf9e08a5293ff90eed0111386072eb
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
}