void-packages/srcpkgs/gxemul/template

26 lines
792 B
Bash

# Template file for 'gxemul'
pkgname=gxemul
version=0.6.2
revision=2
makedepends="libX11-devel"
short_desc="Framework for full-system computer architecture emulation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://gavare.se/gxemul/"
changelog="http://gavare.se/gxemul/gxemul-stable/HISTORY.html"
distfiles="http://gavare.se/gxemul/src/gxemul-${version}.tar.gz"
checksum=a703ac7965feb3c701c7677d78c353f0efa1af4d36a9508fb045eb63dd571547
nocross="./_testpri: cannot execute binary file: Exec format error"
do_configure() {
PREFIX=/usr MANDIR=${DESTDIR}/usr/share/man ./configure
# Skip tests
vsed -i '/^install:/s/test//' Makefile
}
do_build() {
make CXX=$CXX CC=$CC ${makejobs}
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vlicense LICENSE
}