void-packages/srcpkgs/gxemul/template

29 lines
833 B
Bash

# Template file for 'gxemul'
pkgname=gxemul
version=0.6.1
revision=1
makedepends="libX11-devel"
short_desc="Framework for full-system computer architecture emulation"
maintainer="Juan RP <xtraeme@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=1bce1cc31615cde7562cf306b5d7062d2a97cae148fe9c9b2153f95ccb1463ed
nocross="./_testpri: cannot execute binary file: Exec format error"
do_configure() {
PREFIX=/usr ./configure
# Fix man path.
sed -i 's,$(PREFIX)/man,$(PREFIX)/share/man,g' Makefile
# Skip tests
sed -i '/^install:/s/test//' Makefile
}
do_build() {
make CXX=$CXX CC=$CC ${makejobs}
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vlicense LICENSE
}