Annotation of /trunk/extras/vde2/vde2-2.3.2-r2.smage2
Parent Directory | Revision Log
Revision 26185 -
(hide annotations)
(download)
Thu Jun 18 08:25:10 2015 UTC (9 years, 3 months ago) by niro
File size: 704 byte(s)
Thu Jun 18 08:25:10 2015 UTC (9 years, 3 months ago) by niro
File size: 704 byte(s)
-rebuild against libpcap-1.7
1 | niro | 26185 | # $Id$ |
2 | |||
3 | PNAME="vde2" | ||
4 | PVER="2.3.2" | ||
5 | PBUILD="r" | ||
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.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 | } |