Magellan Linux

Contents of /trunk/core/libpcap/libpcap-1.8.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31683 - (show annotations) (download)
Wed Dec 5 12:21:45 2018 UTC (5 years, 4 months ago) by niro
File size: 729 byte(s)
auto added: ver bump to 1.9.0-r1
1 # $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 '${PNAME}-' | highesttarball gz"
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 }