]>
Commit | Line | Data |
---|---|---|
2ee4ca99 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
2ee4ca99 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = xen |
7 | version = 4.1.1 | |
8 | release = 3 | |
9 | ||
10 | maintainer = Ben Schweikert <ben.schweikert@ipfire.org> | |
11 | groups = Applications/Virtualization | |
12 | url = http://www.xen.org/ | |
13 | license = GPLv2+ | |
14 | summary = The Xen tools. | |
15 | ||
16 | description | |
17 | The Xen hypervisor, the powerful open source industry standard | |
18 | for virtualization, offers a powerful, efficient, and secure | |
19 | feature set for virtualization. | |
20 | end | |
21 | ||
22 | source_dl = | |
23 | sources = %{thisapp}.tar.gz | |
24 | ||
25 | build | |
26 | requires | |
27 | gettext-devel | |
28 | kernel-headers | |
29 | libuuid-devel | |
30 | ncurses-devel | |
31 | openssl-devel | |
32 | python | |
33 | python-devel | |
34 | sdl-devel | |
35 | xorg-x11-proto-devel | |
36 | zlib-devel | |
37 | end | |
38 | ||
39 | prepare_cmds | |
40 | # Following two lines are disabling HVM. HVM does not work because \ | |
41 | # of some PIE errors we get when we try to build the firmware part \ | |
42 | # needed for different architektures. | |
43 | sed -i -e '/^CONFIG_IOEMU := y$$/d' config/*.mk | |
44 | sed -i -e '/SUBDIRS-$%{CONFIG_X86} += firmware/d' tools/Makefile | |
45 | ||
46 | rm -f Config.mk~ | |
47 | end | |
48 | ||
49 | make_build_targets += \ | |
50 | xen tools | |
51 | ||
52 | make_install_targets +=\ | |
53 | xen install-tools | |
54 | ||
55 | install_cmds | |
56 | rm -R %{BUILDROOT}/etc/init.d | |
57 | end | |
58 | end | |
59 | ||
60 | quality-agent | |
61 | whitelist_execstack | |
62 | /boot/* | |
63 | end | |
64 | end | |
65 | ||
66 | packages | |
67 | package %{name} | |
68 | end | |
69 | ||
70 | package %{name}-libs | |
71 | template LIBS | |
72 | ||
73 | description | |
74 | This package contains the libraries needed to | |
75 | run applications which manage Xen virtual machines | |
76 | end | |
77 | ||
78 | files += /usr/lib/fs | |
79 | end | |
80 | ||
81 | package %{name}-hypervisor | |
82 | summary = The Xen hypervisor. | |
83 | description | |
84 | This package contains the Xen hypervisor. | |
85 | end | |
86 | ||
87 | files | |
88 | /boot/* | |
89 | end | |
90 | end | |
91 | ||
92 | package %{name}-runtime | |
93 | summary = Runtime programms and daemons for Xen environments. | |
94 | description | |
95 | This package contains the runtime programs | |
96 | and daemons which form the core Xen userspace environment. | |
97 | end | |
98 | ||
99 | files | |
100 | /usr/bin/* | |
101 | end | |
102 | end | |
103 | ||
104 | package %{name}-devel | |
105 | template DEVEL | |
106 | ||
107 | description | |
108 | This package contains what's needed to | |
109 | develop applications which manage Xen virtual machines. | |
110 | end | |
111 | end | |
112 | end |