Contents of /trunk/extras/qemu-networking/qemu-networking-3-r2.smage2
Parent Directory | Revision Log
Revision 19706 -
(show annotations)
(download)
Fri Oct 11 11:37:41 2013 UTC (10 years, 11 months ago) by niro
File size: 681 byte(s)
Fri Oct 11 11:37:41 2013 UTC (10 years, 11 months ago) by niro
File size: 681 byte(s)
-rebuild using new systemd.sminc include
1 | # $Id$ |
2 | |
3 | PNAME="qemu-networking" |
4 | PVER="3" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="app-emulation" |
8 | |
9 | DESCRIPTION="Qemu networking layer via VDE2." |
10 | HOMEPAGE="http://www.magellan-linux.de" |
11 | |
12 | DEPEND=">= net-misc/bridge-utils-1.5 |
13 | >= sys-apps/usermode-utilities-2007 |
14 | >= net-misc/vde2-2.3 |
15 | >= net-misc/iptables-1.4 |
16 | >= sys-apps/procps-3.2" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild mtools systemd |
22 | |
23 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) |
24 | |
25 | UP2DATE="echo ${PVER}" |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | mmake || die |
31 | } |
32 | |
33 | preinstall() |
34 | { |
35 | mgroupadd kvm |
36 | } |
37 | |
38 | postinstall() |
39 | { |
40 | mstartunit qemu-networking.service qemu |
41 | } |
42 | |
43 | postremove() |
44 | { |
45 | mstopunit qemu-networking.service qemu |
46 | } |