void-packages/srcpkgs/gede/template
Jürgen Buchmüller b329288c03 gede: fix cross
2017-01-18 08:37:03 +01:00

25 lines
682 B
Bash

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