Magellan Linux

Annotation of /branches/R11-unstable/core/libpcap/libpcap-1.5.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24998 - (hide annotations) (download)
Tue Nov 25 02:48:00 2014 UTC (9 years, 5 months ago) by niro
File size: 663 byte(s)
-release branches/R11-unstable
1 niro 21517 # $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     }