Annotation of /trunk/extras/qemu-networking/qemu-networking-5-r1.smage2
Parent Directory | Revision Log
Revision 21016 -
(hide annotations)
(download)
Tue Mar 4 10:20:11 2014 UTC (10 years, 6 months ago) by niro
File size: 709 byte(s)
Tue Mar 4 10:20:11 2014 UTC (10 years, 6 months ago) by niro
File size: 709 byte(s)
auto added: ver bump to 5-r1
1 | niro | 21016 | # $Id$ |
2 | |||
3 | PNAME="qemu-networking" | ||
4 | PVER="5" | ||
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 | >= sys-apps/net-tools-1.60" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mbuild mtools systemd | ||
23 | |||
24 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) | ||
25 | |||
26 | UP2DATE="echo ${PVER}" | ||
27 | |||
28 | src_compile() | ||
29 | { | ||
30 | cd ${SRCDIR} | ||
31 | mmake || die | ||
32 | } | ||
33 | |||
34 | preinstall() | ||
35 | { | ||
36 | mgroupadd kvm | ||
37 | } | ||
38 | |||
39 | postinstall() | ||
40 | { | ||
41 | mstartunit qemu-networking.service qemu | ||
42 | } | ||
43 | |||
44 | postremove() | ||
45 | { | ||
46 | mstopunit qemu-networking.service qemu | ||
47 | } |