]>
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 | |
4935b485 | 8 | release = 4 |
802ea3af MT |
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 | |
4935b485 | 35 | texinfo |
802ea3af | 36 | xorg-x11-proto-devel |
4935b485 | 37 | wget |
802ea3af MT |
38 | zlib-devel |
39 | end | |
40 | ||
41 | prepare_cmds | |
42 | # Following two lines are disabling HVM. HVM does not work because \ | |
43 | # of some PIE errors we get when we try to build the firmware part \ | |
44 | # needed for different architektures. | |
4935b485 MT |
45 | sed -i -e '/^CONFIG_IOEMU := y$/d' config/*.mk |
46 | sed -i -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' tools/Makefile | |
802ea3af MT |
47 | |
48 | rm -f Config.mk~ | |
49 | end | |
50 | ||
51 | make_build_targets += \ | |
52 | xen tools | |
53 | ||
54 | make_install_targets +=\ | |
55 | xen install-tools | |
56 | ||
57 | install_cmds | |
58 | rm -R %{BUILDROOT}/etc/init.d | |
59 | end | |
60 | end | |
61 | ||
62 | quality-agent | |
63 | whitelist_execstack | |
64 | /boot/* | |
65 | end | |
66 | end | |
67 | ||
68 | packages | |
69 | package %{name} | |
4935b485 | 70 | |
802ea3af MT |
71 | package %{name}-libs |
72 | template LIBS | |
73 | ||
74 | description | |
75 | This package contains the libraries needed to | |
76 | run applications which manage Xen virtual machines | |
77 | end | |
4935b485 | 78 | |
802ea3af MT |
79 | files += /usr/lib/fs |
80 | end | |
4935b485 | 81 | |
802ea3af MT |
82 | package %{name}-hypervisor |
83 | summary = The Xen hypervisor. | |
84 | description | |
85 | This package contains the Xen hypervisor. | |
86 | end | |
4935b485 | 87 | |
802ea3af MT |
88 | files |
89 | /boot/* | |
90 | end | |
91 | end | |
4935b485 | 92 | |
802ea3af MT |
93 | package %{name}-runtime |
94 | summary = Runtime programms and daemons for Xen environments. | |
95 | description | |
96 | This package contains the runtime programs | |
97 | and daemons which form the core Xen userspace environment. | |
98 | end | |
4935b485 | 99 | |
802ea3af MT |
100 | files |
101 | /usr/bin/* | |
102 | end | |
103 | end | |
4935b485 | 104 | |
802ea3af MT |
105 | package %{name}-devel |
106 | template DEVEL | |
107 | ||
108 | description | |
109 | This package contains what's needed to | |
110 | develop applications which manage Xen virtual machines. | |
111 | end | |
112 | end | |
113 | end |