# Template file for 'gxemul'
pkgname=gxemul
version=0.6.0.1
revision=1
makedepends="libX11-devel"
short_desc="Framework for full-system computer architecture emulation"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://gxemul.sourceforge.net"
distfiles="http://gxemul.sourceforge.net/src/gxemul-${version}.tar.gz"
checksum=0790823d8d7f8848c98318ace829f7a0159a5f9b79d80bd8c367fb17014dcda9

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
}
