void-packages/srcpkgs/gxemul/template

25 lines
682 B
Text

# Template file for 'gxemul'
pkgname=gxemul
version=0.6.0
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=d3f85c7964b44b085e088862d88b1f31d907fb99c5321900c0b3a723c82581e8
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
}