Magellan Linux

Contents of /trunk/extras/vde2/vde2-2.3.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13108 - (show annotations) (download)
Tue Aug 21 19:21:45 2012 UTC (12 years, 1 month ago) by niro
File size: 701 byte(s)
auto added: ver bump to 2.3.1-r2
1 # $Id$
2
3 PNAME="vde2"
4 PVER="2.3.1"
5 PBUILD="r2"
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.2
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 || die
33 }
34
35 src_install()
36 {
37 cd ${SRCDIR}
38 mmake DESTDIR=${BINDIR} install || die
39 }