2014-07-03 13:10:22 +02:00
|
|
|
# Template file for 'gxemul'
|
|
|
|
pkgname=gxemul
|
2014-09-08 11:56:36 +02:00
|
|
|
version=0.6.0.1
|
2014-07-03 13:10:22 +02:00
|
|
|
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"
|
2014-09-08 11:56:36 +02:00
|
|
|
checksum=0790823d8d7f8848c98318ace829f7a0159a5f9b79d80bd8c367fb17014dcda9
|
2014-07-03 13:10:22 +02:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
PREFIX=/usr ./configure
|
2014-07-03 13:22:15 +02:00
|
|
|
# Fix man path.
|
2014-07-03 13:10:22 +02:00
|
|
|
sed -i 's,$(PREFIX)/man,$(PREFIX)/share/man,g' Makefile
|
2014-07-03 13:22:15 +02:00
|
|
|
# Skip tests
|
|
|
|
sed -i '/^install:/s/test//' Makefile
|
2014-07-03 13:10:22 +02:00
|
|
|
}
|
|
|
|
do_build() {
|
|
|
|
make CXX=$CXX CC=$CC ${makejobs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=${DESTDIR}/usr install
|
|
|
|
}
|