]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
New naoki file: qemu (with kvm).
authorBenjamin Schweikert <trikolon@ipfire.org>
Wed, 24 Feb 2010 10:44:17 +0000 (11:44 +0100)
committerBenjamin Schweikert <trikolon@ipfire.org>
Wed, 24 Feb 2010 10:44:17 +0000 (11:44 +0100)
pkgs/core/qemu/qemu.nm [new file with mode: 0644]

diff --git a/pkgs/core/qemu/qemu.nm b/pkgs/core/qemu/qemu.nm
new file mode 100644 (file)
index 0000000..309d584
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# 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