void-packages/srcpkgs/gxemul/template

26 lines
682 B
Text
Raw Normal View History

2014-07-03 11:10:22 +00:00
# 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.
2014-07-03 11:10:22 +00:00
sed -i 's,$(PREFIX)/man,$(PREFIX)/share/man,g' Makefile
# Skip tests
sed -i '/^install:/s/test//' Makefile
2014-07-03 11:10:22 +00:00
}
do_build() {
make CXX=$CXX CC=$CC ${makejobs}
}
do_install() {
make PREFIX=${DESTDIR}/usr install
}