Annotation of /trunk/core/libpcap/libpcap-1.8.1-r1.smage2
Parent Directory | Revision Log
Revision 28457 -
(hide annotations)
(download)
Wed Nov 23 14:06:02 2016 UTC (7 years, 10 months ago) by niro
File size: 757 byte(s)
Wed Nov 23 14:06:02 2016 UTC (7 years, 10 months ago) by niro
File size: 757 byte(s)
auto added: ver bump to 1.8.1-r1
1 | niro | 28457 | # $Id$ |
2 | |||
3 | PNAME="libpcap" | ||
4 | PVER="1.8.1" | ||
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 | >= dev-util/pkgconfig-0.25" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude mbuild | ||
22 | msetfeature "!check" | ||
23 | |||
24 | SRC_URI=( | ||
25 | http://www.tcpdump.org/release/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | ) | ||
28 | |||
29 | UP2DATE="updatecmd ${HOMEPAGE} | grep -A3 -i 'latest' | grep 'Version:' | sed 's:.*/\ \(.*\):\1:'" | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | # broken? | ||
36 | CFLAGS="${CLFAGS} $(pkg-config --cflags libnl-3.0)" \ | ||
37 | mconfigure --enable-ipv6 --with-libnl || die | ||
38 | mmake || die | ||
39 | } |