Annotation of /branches/R11-stable/extras/libpcap/libpcap-1.4.0-r2.smage2
Parent Directory | Revision Log
Revision 19996 -
(hide annotations)
(download)
Fri Oct 25 10:26:58 2013 UTC (10 years, 11 months ago) by niro
Original Path: trunk/extras/libpcap/libpcap-1.4.0-r2.smage2
File size: 663 byte(s)
Fri Oct 25 10:26:58 2013 UTC (10 years, 11 months ago) by niro
Original Path: trunk/extras/libpcap/libpcap-1.4.0-r2.smage2
File size: 663 byte(s)
-added missing libusb dep
1 | niro | 19995 | # $Id$ |
2 | |||
3 | PNAME="libpcap" | ||
4 | PVER="1.4.0" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="net-libs" | ||
8 | |||
9 | DESCRIPTION="A system-independent interface for user-level packet capture." | ||
10 | HOMEPAGE="http://www.tcpdump.org/" | ||
11 | |||
12 | niro | 19996 | DEPEND=">= dev-libs/libnl3-3.2 |
13 | >= dev-libs/libusb-1.0.9" | ||
14 | |||
15 | niro | 19995 | SDEPEND=">= sys-dev/flex-2.5.35" |
16 | |||
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
19 | |||
20 | sminclude mbuild | ||
21 | msetfeature "!check" | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://www.tcpdump.org/release/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | UP2DATE="updatecmd ${HOMEPAGE} | grep -A3 -i 'latest' | grep 'Version:' | sed 's:.*/\ \(.*\):\1:'" | ||
29 | |||
30 | src_compile() | ||
31 | { | ||
32 | cd ${SRCDIR} | ||
33 | |||
34 | mconfigure --enable-ipv6 --with-libnl || die | ||
35 | mmake || die | ||
36 | } |