The QEMU Accelerator (KQEMU) is a driver allowing a user application to run x86 code in a Virtual Machine (VM). The code can be either user or kernel code, in 64, 32 or 16 bit protected mode. KQEMU is very similar in essence to the VM86 Linux syscall call, but it adds some new concepts to improve memory handling. KQEMU is ported on many host OSes (currently Linux, Windows, FreeBSD, Solaris). It can execute code from many guest OSes (e.g. Linux, Windows 2000/XP) even if the host CPU does not support hardware virtualization.
34 lines
625 B
Makefile
34 lines
625 B
Makefile
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
COMMENT= QEMU accelerator module
|
|
|
|
DISTNAME= kqemu-1.3.0pre11
|
|
CATEGORIES= emulators
|
|
|
|
HOMEPAGE= http://fabrice.bellard.free.fr/qemu/
|
|
|
|
MAINTAINER= Todd T. Fries <todd@OpenBSD.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
BUILD_DEPENDS= ::devel/gmake
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
MAKE_FILE= Makefile.openbsd
|
|
PREFIX= ${LOCALBASE}/lib/kqemu
|
|
|
|
post-extract:
|
|
@cp ${FILESDIR}/* ${WRKBUILD}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}
|
|
${INSTALL_DATA} ${WRKBUILD}/kqemu.o ${PREFIX}
|
|
|
|
.include <bsd.port.mk>
|