Annotation of /branches/R11-stable/extras/qemu-networking/qemu-networking-3-r1.smage2
Parent Directory | Revision Log
Revision 15343 -
(hide annotations)
(download)
Wed Jan 2 11:32:32 2013 UTC (11 years, 8 months ago) by niro
File size: 673 byte(s)
Wed Jan 2 11:32:32 2013 UTC (11 years, 8 months ago) by niro
File size: 673 byte(s)
-release branches/R11-stable
1 | niro | 12549 | # $Id$ |
2 | |||
3 | PNAME="qemu-networking" | ||
4 | PVER="3" | ||
5 | PBUILD="r1" | ||
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 | ||
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 | niro | 12553 | mstartunit qemu-networking.service qemu |
41 | niro | 12549 | } |
42 | |||
43 | postremove() | ||
44 | { | ||
45 | niro | 12553 | mstopunit qemu-networking.service qemu |
46 | niro | 12549 | } |