Contents of /branches/R11-unstable/core/libpcap/libpcap-1.5.3-r1.smage2
Parent Directory | Revision Log
Revision 21518 -
(show annotations)
(download)
Mon Jun 30 10:32:26 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/core/libpcap/libpcap-1.5.3-r1.smage2
File size: 663 byte(s)
Mon Jun 30 10:32:26 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/core/libpcap/libpcap-1.5.3-r1.smage2
File size: 663 byte(s)
-moved to 'core'
1 | # $Id$ |
2 | |
3 | PNAME="libpcap" |
4 | PVER="1.5.3" |
5 | PBUILD="r1" |
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 | DEPEND=">= dev-libs/libnl3-3.2 |
13 | >= dev-libs/libusb-1.0.9" |
14 | |
15 | 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 | } |