]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/xen/xen.nm
PKG_GROUP -> PKG_GROUPS on all packages.
[people/ms/ipfire-3.x.git] / pkgs / xen / xen.nm
CommitLineData
2ee4ca99
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = xen
131fc838 28PKG_VER = 4.0.1
8f551334 29PKG_REL = 1
2ee4ca99
MT
30
31PKG_MAINTAINER = Ben Schweikert <ben.schweikert@ipfire.org>
bb7d617c 32PKG_GROUPS = Applications/Virtualization
2ee4ca99
MT
33PKG_URL = http://www.xen.org/
34PKG_LICENSE = GPLv2+
131fc838 35PKG_SUMMARY = The Xen tools.
2ee4ca99
MT
36
37define PKG_DESCRIPTION
131fc838
MT
38 The Xen hypervisor, the powerful open source industry standard \
39 for virtualization, offers a powerful, efficient, and secure \
40 feature set for virtualization.
2ee4ca99
MT
41endef
42
8f551334
MT
43PKG_BUILD_DEPS+= gettext-devel kernel-headers libuuid-devel ncurses-devel \
44 openssl-devel python python-devel sdl-devel xorg-x11-proto-devel \
45 zlib-devel
131fc838 46
2ee4ca99
MT
47PKG_TARBALL = $(THISAPP).tar.gz
48
131fc838
MT
49PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs $(PKG_NAME)-hypervisor \
50 $(PKG_NAME)-runtime
51
52PKG_SUMMARY-$(PKG_NAME)-hypervisor = This package contains the Xen hypervisor
53PKG_SUMMARY-$(PKG_NAME)-devel = This package contains what's needed to \
54 develop applications which manage Xen virtual machines.
55PKG_SUMMARY-$(PKG_NAME)-libs = This package contains the libraries needed to \
56 run applications which manage Xen virtual machines
57PKG_SUMMARY-$(PKG_NAME)-runtime = This package contains the runtime programs \
58 and daemons which form the core Xen userspace environment.
59
60define PKG_FILES-$(PKG_NAME)-hypervisor
2ee4ca99
MT
61 /boot/*
62endef
63
131fc838
MT
64define PKG_FILES-$(PKG_NAME)-runtime
65 /usr/bin/*
66endef
67
a751616f
MT
68# libs: Use files from template and add /usr/lib/fs.
69PKG_FILES-$(PKG_NAME)-libs += /usr/lib/fs
131fc838
MT
70
71define QUALITY_AGENT_WHITELIST_EXECSTACK
72 /boot/*
73endef
2ee4ca99
MT
74
75define STAGE_BUILD
131fc838
MT
76 # Following two lines are disabling HVM. HVM does not work because \
77 # of soem PIE errors we get when we try to build the firmware part \
78 # needed for different architektures.
79 cd $(DIR_APP) && sed -i -e '/^CONFIG_IOEMU := y$$/d' config/*.mk
80 cd $(DIR_APP) && sed -i -e '/SUBDIRS-$$(CONFIG_X86) += firmware/d' tools/Makefile
81
82 cd $(DIR_APP) && make tools xen $(PARALLELISMFLAGS)
2ee4ca99
MT
83endef
84
85define STAGE_INSTALL
131fc838
MT
86 cd $(DIR_APP) && make install-tools install-xen DESTDIR=$(BUILDROOT)
87 rm -R $(BUILDROOT)/etc/init.d
2ee4ca99 88endef