Magellan Linux

Annotation of /branches/R11-stable/extras/qemu-networking/qemu-networking-3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12549 - (hide annotations) (download)
Sat Jun 9 11:03:25 2012 UTC (12 years ago) by niro
Original Path: trunk/extras/qemu-networking/qemu-networking-3-r1.smage2
File size: 687 byte(s)
auto added: ver bump to 3-r1
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     mstartunit qemu-networking.service qemu || die
41     }
42    
43     postremove()
44     {
45     mstopunit qemu-networking.service qemu || die
46     }