]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Adding Qemu to Ipfire 3.x.
authorBen Schweikert <trikolon@ipfire.org>
Tue, 4 Aug 2009 10:57:36 +0000 (12:57 +0200)
committerBen Schweikert <trikolon@ipfire.org>
Tue, 4 Aug 2009 10:57:36 +0000 (12:57 +0200)
lfs/qemu [new file with mode: 0644]
src/rootfiles/extras/qemu-kvm-devel [new file with mode: 0644]

diff --git a/lfs/qemu b/lfs/qemu
new file mode 100644 (file)
index 0000000..e36157a
--- /dev/null
+++ b/lfs/qemu
@@ -0,0 +1,96 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  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 Config
+
+PKG_NAME   = qemu-kvm-devel
+PKG_VER    = 88
+PKG_REL    = 0
+
+THISAPP    = $(PKG_NAME)-$(PKG_VER)
+DL_FILE    = $(THISAPP).tar.gz
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+
+OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+MAINTAINER =
+GROUP      = Applications/Virtualization
+CORE       = no
+EXTRA      = yes
+DEBUG      = no
+BUILD_DEPS =
+DEPS       =
+
+URL        = http://www.xen.org/
+LICENSE    = GPLv2+
+SHORT_DESC = QEMU is a generic and open source machine emulator and virtualizer.
+
+define LONG_DESC
+       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
+
+CFLAGS    += -fPIC
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+packages: $(PACKAGES)
+
+$(PACKAGES): $(OBJECT)
+       @$(DO_PACKAGE)
+
+$(objects):
+       @$(LOAD)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(OBJECT): $(objects)
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && \
+               ./configure \
+                       --prefix=/usr \
+                       --disable-kvm \
+                       --disable-strip \
+                       --disable-xen
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+       cd $(DIR_APP) && make install
+
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/src/rootfiles/extras/qemu-kvm-devel b/src/rootfiles/extras/qemu-kvm-devel
new file mode 100644 (file)
index 0000000..b31a22e
--- /dev/null
@@ -0,0 +1,57 @@
+usr/bin/qemu-img
+usr/bin/qemu-io
+usr/bin/qemu-nbd
+usr/bin/qemu-system-x86_64
+usr/share/qemu
+usr/share/qemu/bamboo.dtb
+usr/share/qemu/bios.bin
+usr/share/qemu/extboot.bin
+usr/share/qemu/keymaps
+usr/share/qemu/keymaps/ar
+usr/share/qemu/keymaps/common
+usr/share/qemu/keymaps/da
+usr/share/qemu/keymaps/de
+usr/share/qemu/keymaps/de-ch
+usr/share/qemu/keymaps/en-gb
+usr/share/qemu/keymaps/en-us
+usr/share/qemu/keymaps/es
+usr/share/qemu/keymaps/et
+usr/share/qemu/keymaps/fi
+usr/share/qemu/keymaps/fo
+usr/share/qemu/keymaps/fr
+usr/share/qemu/keymaps/fr-be
+usr/share/qemu/keymaps/fr-ca
+usr/share/qemu/keymaps/fr-ch
+usr/share/qemu/keymaps/hr
+usr/share/qemu/keymaps/hu
+usr/share/qemu/keymaps/is
+usr/share/qemu/keymaps/it
+usr/share/qemu/keymaps/ja
+usr/share/qemu/keymaps/lt
+usr/share/qemu/keymaps/lv
+usr/share/qemu/keymaps/mk
+usr/share/qemu/keymaps/modifiers
+usr/share/qemu/keymaps/nl
+usr/share/qemu/keymaps/nl-be
+usr/share/qemu/keymaps/no
+usr/share/qemu/keymaps/pl
+usr/share/qemu/keymaps/pt
+usr/share/qemu/keymaps/pt-br
+usr/share/qemu/keymaps/ru
+usr/share/qemu/keymaps/sl
+usr/share/qemu/keymaps/sv
+usr/share/qemu/keymaps/th
+usr/share/qemu/keymaps/tr
+usr/share/qemu/multiboot.bin
+usr/share/qemu/openbios-ppc
+usr/share/qemu/openbios-sparc32
+usr/share/qemu/openbios-sparc64
+usr/share/qemu/petalogix-s3adsp1800.dtb
+usr/share/qemu/ppc_rom.bin
+usr/share/qemu/pxe-e1000.bin
+usr/share/qemu/pxe-ne2k_pci.bin
+usr/share/qemu/pxe-pcnet.bin
+usr/share/qemu/pxe-rtl8139.bin
+usr/share/qemu/vgabios-cirrus.bin
+usr/share/qemu/vgabios.bin
+usr/share/qemu/video.x