From: Benjamin Schweikert Date: Wed, 24 Feb 2010 10:44:17 +0000 (+0100) Subject: New naoki file: qemu (with kvm). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2daaede6a682564d414725f781ab1255ed73a08c;p=ipfire-3.x.git New naoki file: qemu (with kvm). --- diff --git a/pkgs/core/qemu/qemu.nm b/pkgs/core/qemu/qemu.nm new file mode 100644 index 000000000..309d584fd --- /dev/null +++ b/pkgs/core/qemu/qemu.nm @@ -0,0 +1,70 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = qemu-kvm +PKG_VER = 0.12.2 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = Applications/Virtualization +PKG_URL = http://http://downloads.sourceforge.net/project/kvm/ +PKG_LICENSE = GPLv2+ +PKG_SUMMARY = QEMU is a generic and open source machine emulator and virtualizer. + +PKG_DEPS += gnutls pciutils +PKG_BUILD_DEPS+= gnutls pciutils + +define PKG_DESCRIPTION + QEMU is a processor emulator that relies on dynamic binary translation \ + to achieve a reasonable speed while being easy to port on new host CPU \ + architectures. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +############################################################################### +# Installation Details +############################################################################### + +define QUALITY_AGENT_WHITELIST_EXECSTACK + /usr/share/qemu/openbios* +endef + +define STAGE_BUILD + cd $(DIR_APP) && \ + ./configure \ + --prefix=/usr \ + --enable-kvm \ + --disable-strip \ + --disable-sdl \ + --disable-xen \ + + cd $(DIR_APP) && make $(PARALLELISMFLAGS) +endef + +define STAGE_INSTALL + cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) +endef