Magellan Linux

Annotation of /branches/R11-unstable/extras/vde2/vde2-2.3.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32382 - (hide annotations) (download)
Mon Apr 29 12:24:52 2019 UTC (5 years ago) by niro
File size: 705 byte(s)
-release branches/R11-unstable
1 niro 26185 # $Id$
2    
3     PNAME="vde2"
4     PVER="2.3.2"
5 niro 26186 PBUILD="r2"
6 niro 26185
7     PCAT="net-misc"
8    
9     DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, bochs, and uml."
10     HOMEPAGE="http://vde.sourceforge.net/"
11    
12     DEPEND=">= net-libs/libpcap-1.7
13     >= dev-libs/openssl-1.0.2"
14    
15     SRCFILE="${PNAME}-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mbuild mtools
19    
20     SRC_URI=(
21     sourceforge://${PNAME/2/}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd_sourceforge ${PNAME/2/} ${PNAME}"
26    
27     src_compile()
28     {
29     cd ${SRCDIR}
30    
31     mconfigure --libexecdir=/usr/$(mlibdir)/${PNAME} --enable-pcap --enable-cryptcab || die
32     mmake -j1 || die
33     }
34    
35     src_install()
36     {
37     cd ${SRCDIR}
38     mmake DESTDIR=${BINDIR} install || die
39     }