Magellan Linux

Contents of /branches/R11-unstable/extras/vde2/vde2-2.3.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25842 - (show annotations) (download)
Tue Nov 25 04:22:41 2014 UTC (9 years, 5 months ago) by niro
File size: 705 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="vde2"
4 PVER="2.3.2"
5 PBUILD="r1"
6
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.3
13 >= dev-libs/openssl-1.0.1"
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 }